From: caro Date: Tue, 9 Sep 2008 08:49:29 +0000 (+0000) Subject: fix position_set() X-Git-Tag: 2.0_alpha~338 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5833ea8cb9046eba47bae9fd01298bae97215132;p=framework%2Fuifw%2Femotion.git fix position_set() git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@35891 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/gstreamer/emotion_gstreamer.c b/src/modules/gstreamer/emotion_gstreamer.c index 4bb6348..0b89121 100644 --- a/src/modules/gstreamer/emotion_gstreamer.c +++ b/src/modules/gstreamer/emotion_gstreamer.c @@ -558,8 +558,6 @@ em_pos_set(void *video, ev = (Emotion_Gstreamer_Video *)video; - if (ev->seek_to_pos == pos) return; - vsink = (Emotion_Video_Sink *)ecore_list_index_goto(ev->video_sinks, ev->video_sink_nbr); asink = (Emotion_Audio_Sink *)ecore_list_index_goto(ev->video_sinks, ev->audio_sink_nbr); @@ -581,7 +579,6 @@ em_pos_set(void *video, (gint64)(pos * (double)GST_SECOND), GST_SEEK_TYPE_NONE, -1); } - ev->seek_to_pos = pos; } static void diff --git a/src/modules/gstreamer/emotion_gstreamer.h b/src/modules/gstreamer/emotion_gstreamer.h index b335604..66d5352 100644 --- a/src/modules/gstreamer/emotion_gstreamer.h +++ b/src/modules/gstreamer/emotion_gstreamer.h @@ -83,7 +83,6 @@ struct _Emotion_Gstreamer_Video volatile int seek_to; volatile int get_poslen; - volatile double seek_to_pos; int fd_ev_read; int fd_ev_write;