![]() |
Qt 6.x
The Qt SDK
|
#include <mfplayercontrol_p.h>
Additional Inherited Members | |
![]() | |
enum | TrackType { VideoStream , AudioStream , SubtitleStream , NTrackTypes } |
![]() | |
QPlatformMediaPlayer (QMediaPlayer *parent=nullptr) | |
Definition at line 27 of file mfplayercontrol_p.h.
MFPlayerControl::MFPlayerControl | ( | QMediaPlayer * | player | ) |
Definition at line 11 of file mfplayercontrol.cpp.
MFPlayerControl::~MFPlayerControl | ( | ) |
Definition at line 23 of file mfplayercontrol.cpp.
References MFPlayerSession::close(), and MFPlayerSession::setPlayerControl().
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 292 of file mfplayercontrol.cpp.
References MFPlayerSession::activeTrack().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 255 of file mfplayercontrol.cpp.
References MFPlayerSession::availablePlaybackRanges().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 235 of file mfplayercontrol.cpp.
References MFPlayerSession::bufferProgress().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 218 of file mfplayercontrol.cpp.
Referenced by handleDurationUpdate().
void MFPlayerControl::handleAudioAvailable | ( | ) |
Definition at line 169 of file mfplayercontrol.cpp.
References QPlatformMediaPlayer::audioAvailableChanged().
Referenced by MFPlayerSession::audioAvailable().
Definition at line 192 of file mfplayercontrol.cpp.
References duration(), and QPlatformMediaPlayer::durationChanged().
Referenced by MFPlayerSession::durationUpdate(), and setMedia().
void MFPlayerControl::handleError | ( | QMediaPlayer::Error | errorCode, |
const QString & | errorString, | ||
bool | isFatal | ||
) |
Definition at line 280 of file mfplayercontrol.cpp.
References error, isFatal(), and stop().
Referenced by MFPlayerSession::error().
void MFPlayerControl::handleSeekableUpdate | ( | bool | seekable | ) |
Definition at line 200 of file mfplayercontrol.cpp.
References QPlatformMediaPlayer::seekableChanged().
Referenced by MFPlayerSession::seekableUpdate(), and setMedia().
void MFPlayerControl::handleStatusChanged | ( | ) |
Definition at line 129 of file mfplayercontrol.cpp.
References QMediaPlayer::BufferedMedia, QMediaPlayer::BufferingMedia, QPlatformMediaPlayer::doLoop(), QMediaPlayer::EndOfMedia, QMediaPlayer::InvalidMedia, QMediaPlayer::LoadedMedia, QPlatformMediaPlayer::mediaStatusChanged(), QMediaPlayer::PlayingState, setPosition(), MFPlayerSession::start(), MFPlayerSession::status(), and QMediaPlayer::StoppedState.
Referenced by MFPlayerSession::statusChanged().
void MFPlayerControl::handleTracksChanged | ( | ) |
Definition at line 156 of file mfplayercontrol.cpp.
References QPlatformMediaPlayer::tracksChanged().
Referenced by MFPlayerSession::tracksChanged().
void MFPlayerControl::handleVideoAvailable | ( | ) |
Definition at line 161 of file mfplayercontrol.cpp.
References QPlatformMediaPlayer::videoAvailableChanged().
Referenced by MFPlayerSession::videoAvailable().
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 240 of file mfplayercontrol.cpp.
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 250 of file mfplayercontrol.cpp.
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 245 of file mfplayercontrol.cpp.
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 270 of file mfplayercontrol.cpp.
Referenced by setMedia().
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 213 of file mfplayercontrol.cpp.
References MFPlayerSession::status().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 275 of file mfplayercontrol.cpp.
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 95 of file mfplayercontrol.cpp.
References MFPlayerSession::metaData().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 72 of file mfplayercontrol.cpp.
References QMediaPlayer::InvalidMedia, QMediaPlayer::NoMedia, MFPlayerSession::pause(), QMediaPlayer::PausedState, and MFPlayerSession::status().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 46 of file mfplayercontrol.cpp.
References QMediaPlayer::BufferedMedia, QMediaPlayer::BufferingMedia, QMediaPlayer::EndOfMedia, QMediaPlayer::InvalidMedia, MFPlayerSession::load(), QMediaPlayer::LoadedMedia, QMediaPlayer::NoMedia, QMediaPlayer::PlayingState, QPlatformMediaPlayer::resetCurrentLoop(), MFPlayerSession::start(), and MFPlayerSession::status().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 260 of file mfplayercontrol.cpp.
References MFPlayerSession::playbackRate().
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 223 of file mfplayercontrol.cpp.
References MFPlayerSession::position().
Referenced by setPosition().
Reimplemented from QPlatformMediaPlayer.
Definition at line 287 of file mfplayercontrol.cpp.
References MFPlayerSession::setActiveTrack().
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 100 of file mfplayercontrol.cpp.
References output, and MFPlayerSession::setAudioOutput().
Implements QPlatformMediaPlayer.
Definition at line 30 of file mfplayercontrol.cpp.
References handleDurationUpdate(), handleSeekableUpdate(), MFPlayerSession::load(), media(), MFPlayerSession::stop(), and QMediaPlayer::StoppedState.
Implements QPlatformMediaPlayer.
Definition at line 265 of file mfplayercontrol.cpp.
References MFPlayerSession::setPlaybackRate().
Implements QPlatformMediaPlayer.
Definition at line 228 of file mfplayercontrol.cpp.
References MFPlayerSession::position(), position(), and MFPlayerSession::setPosition().
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 105 of file mfplayercontrol.cpp.
References MFPlayerSession::setVideoSink().
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 208 of file mfplayercontrol.cpp.
|
overridevirtual |
Implements QPlatformMediaPlayer.
Definition at line 86 of file mfplayercontrol.cpp.
References MFPlayerSession::stop(), and QMediaPlayer::StoppedState.
Referenced by handleError().
|
inlineoverridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 62 of file mfplayercontrol_p.h.
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 297 of file mfplayercontrol.cpp.
References MFPlayerSession::trackCount().
|
overridevirtual |
Reimplemented from QPlatformMediaPlayer.
Definition at line 302 of file mfplayercontrol.cpp.
References MFPlayerSession::trackMetaData().