Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QFFmpeg::ClockController Class Reference

#include <qffmpegclock_p.h>

+ Collaboration diagram for QFFmpeg::ClockController:

Public Member Functions

 ClockController ()=default
 
 ~ClockController ()
 
qint64 currentTime () const
 
void syncTo (qint64 usecs)
 
void setPlaybackRate (float s)
 
float playbackRate () const
 
void setPaused (bool paused)
 

Friends

class Clock
 

Detailed Description

Definition at line 59 of file qffmpegclock_p.h.

Constructor & Destructor Documentation

◆ ClockController()

QFFmpeg::ClockController::ClockController ( )
default

◆ ~ClockController()

QFFmpeg::ClockController::~ClockController ( )

Definition at line 77 of file qffmpegclock.cpp.

Member Function Documentation

◆ currentTime()

qint64 QFFmpeg::ClockController::currentTime ( ) const

Definition at line 136 of file qffmpegclock.cpp.

◆ playbackRate()

float QFFmpeg::ClockController::playbackRate ( ) const
inline

Definition at line 89 of file qffmpegclock_p.h.

◆ setPaused()

void QFFmpeg::ClockController::setPaused ( bool  paused)

Definition at line 173 of file qffmpegclock.cpp.

References qCDebug.

◆ setPlaybackRate()

void QFFmpeg::ClockController::setPlaybackRate ( float  s)

Definition at line 156 of file qffmpegclock.cpp.

References baseTime, and qCDebug.

◆ syncTo()

void QFFmpeg::ClockController::syncTo ( qint64  usecs)

Definition at line 142 of file qffmpegclock.cpp.

References qCDebug.

Friends And Related Symbol Documentation

◆ Clock

friend class Clock
friend

Definition at line 73 of file qffmpegclock_p.h.


The documentation for this class was generated from the following files: