summaryrefslogtreecommitdiff
path: root/src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@qt.io>2017-04-06 17:02:55 +0200
committerChristian Stromme <christian.stromme@qt.io>2017-04-26 14:59:21 +0000
commit9dbdd5db797fccb8932f49d7380fb5f5eda12cf2 (patch)
treedb133fc3d2172ff5d665970688a98fcd16ecec6a /src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h
parentf97d5eaaa539e2569f3ca3b8eef6649827b07bc1 (diff)
downloadqtmultimedia-9dbdd5db797fccb8932f49d7380fb5f5eda12cf2.tar.gz
AVF: Fix mediaplayer state and status issues
This fixes the issues that were causing the whole qmediaplayerbackend test to be blacklisted on macOS. Task-number: QTBUG-46368 Change-Id: I59a35dd50a9c07e4e4382c5facb391f5c8a27ee7 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h')
-rw-r--r--src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h b/src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h
index 5696faf15..ef854e23f 100644
--- a/src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h
+++ b/src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h
@@ -99,10 +99,12 @@ public Q_SLOTS:
void setMuted(bool muted);
void processEOS();
- void processLoadStateChange();
+ void processLoadStateChange(QMediaPlayer::State newState);
void processPositionChange();
void processMediaLoadError();
+ void processLoadStateChange();
+ void processLoadStateFailure();
Q_SIGNALS:
void positionChanged(qint64 position);
void durationChanged(qint64 duration);