diff options
author | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-10-31 21:35:33 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-11-04 15:04:37 +0000 |
commit | 3ef5831041fe1206043f3b36f063eef4842ce243 (patch) | |
tree | e12a92a603f74a2c3bf8c4c9cdbf907b826e7323 /src/plugins/directshow/player/directshowplayercontrol.h | |
parent | 953a61e5fd6bd2bff66babef527d1ae6e04e22b1 (diff) |
DirectShow: fix media player seeking.
Correctly handle seek requests happening when the media is not playing.
Change-Id: I82c508dae41792b75a26e86512da66a4871f6352
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'src/plugins/directshow/player/directshowplayercontrol.h')
-rw-r--r-- | src/plugins/directshow/player/directshowplayercontrol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/directshow/player/directshowplayercontrol.h b/src/plugins/directshow/player/directshowplayercontrol.h index d59b8ac28..ab842f511 100644 --- a/src/plugins/directshow/player/directshowplayercontrol.h +++ b/src/plugins/directshow/player/directshowplayercontrol.h @@ -114,6 +114,8 @@ private: PropertiesChanged = QEvent::User }; + void playOrPause(QMediaPlayer::State state); + void scheduleUpdate(int properties); void emitPropertyChanges(); void setVolumeHelper(int volume); |