summaryrefslogtreecommitdiffstats
path: root/src/plugins/directshow/player/directshowplayercontrol.h
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@theqtcompany.com>2015-10-31 21:35:33 +0100
committerYoann Lopes <yoann.lopes@theqtcompany.com>2015-11-04 15:04:37 +0000
commit3ef5831041fe1206043f3b36f063eef4842ce243 (patch)
treee12a92a603f74a2c3bf8c4c9cdbf907b826e7323 /src/plugins/directshow/player/directshowplayercontrol.h
parent953a61e5fd6bd2bff66babef527d1ae6e04e22b1 (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.h2
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);