slomo pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a5f6a9274c5c22f7ce3ef0e973bfc0c0cae70723

commit a5f6a9274c5c22f7ce3ef0e973bfc0c0cae70723
Author: Sebastian Dröge <[email protected]>
Date:   Sun Jan 12 19:33:57 2014 +0100

    emotion gstreamer1: Don't set pipeline to PAUSED during seeking
    
    This is not required and is handled transparently inside GStreamer
    already.
---
 src/modules/emotion/gstreamer1/emotion_gstreamer.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/modules/emotion/gstreamer1/emotion_gstreamer.c 
b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
index 7791f65..99e467b 100644
--- a/src/modules/emotion/gstreamer1/emotion_gstreamer.c
+++ b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
@@ -252,18 +252,12 @@ em_pos_set(void   *video,
 
    if (!ev->pipeline) return;
 
-   if (ev->play)
-     gst_element_set_state(ev->pipeline, GST_STATE_PAUSED);
-
    gst_element_seek(ev->pipeline, 1.0,
                           GST_FORMAT_TIME,
                           GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH,
                           GST_SEEK_TYPE_SET,
                           (gint64)(pos * (double)GST_SECOND),
                           GST_SEEK_TYPE_NONE, -1);
-
-   if (ev->play)
-     gst_element_set_state(ev->pipeline, GST_STATE_PLAYING);
 }
 
 static double

-- 


Reply via email to