summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorMartin van Zijl <martin.vanzijl@gmail.com>2020-07-01 07:42:29 +1200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-08 08:27:13 +0200
commit5989ffe70942af036974b70c9e0ecd67978c6cc6 (patch)
tree25c06fa78b49a9be082e07a459a3bdb2a55f8602 /avmedia
parent5267b6c04eed2662726bb90899eb40414779fcb3 (diff)
tdf#34759 fix media player pausing when pressing time slider
Change-Id: I196549f168d67895510a239640c492cfc421fb07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97644 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index 9511be54b5ae..932e1dd1c6e1 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -684,8 +684,6 @@ void SAL_CALL Player::setMediaTime( double fTime )
GST_SEEK_FLAG_FLUSH,
GST_SEEK_TYPE_SET, gst_position,
GST_SEEK_TYPE_NONE, 0 );
- if( !isPlaying() )
- gst_element_set_state( mpPlaybin, GST_STATE_PAUSED );
SAL_INFO( "avmedia.gstreamer", AVVERSION "seek to: " << gst_position << " ns original: " << fTime << " s" );
}