diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-09-06 16:14:46 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-10-01 08:35:29 +0000 |
commit | 7aa08ffafd5ac69bca02038aae80ea014f444174 (patch) | |
tree | 77b07599e870fc15849b1326430b87787ea328af /src/plugins/gstreamer/camerabin/camerabinsession.cpp | |
parent | 9eef3390241f8c6e25c5ccc7b1baa25058146927 (diff) |
DirectShow: Don't seek if playback is stopped
If the playback is already stopped, and after that
new position is requested twice, e.g.
stop();
setPosition(0);
setPosition(0);
this causes the playback to start.
Need to postpone setting of new position until play is requested.
Also no need to emit positionChanged when position is not changed.
Fixes: QTBUG-68778
Change-Id: Ib62942ee155d9c8ed2310132dcc6b501dfef1a04
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinsession.cpp')
0 files changed, 0 insertions, 0 deletions