From: doursse Date: Tue, 11 Apr 2006 23:31:03 +0000 (+0000) Subject: fix seeking X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3393640457c98c3cd3e47263e5ee24ae339c746d;p=profile%2Fivi%2Femotion.git fix seeking git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@22033 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/emotion_gstreamer.c b/src/modules/emotion_gstreamer.c index 2766782..36e81dc 100644 --- a/src/modules/emotion_gstreamer.c +++ b/src/modules/emotion_gstreamer.c @@ -512,7 +512,7 @@ em_pos_set(void *video, gst_element_seek(vsink->sink, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH, - GST_SEEK_TYPE_CUR, + GST_SEEK_TYPE_SET, (gint64)(pos * (double)GST_SECOND), GST_SEEK_TYPE_NONE, -1); @@ -521,7 +521,7 @@ em_pos_set(void *video, gst_element_seek(asink->sink, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH, - GST_SEEK_TYPE_CUR, + GST_SEEK_TYPE_SET, (gint64)(pos * (double)GST_SECOND), GST_SEEK_TYPE_NONE, -1);