summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/gstreamer
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2008-09-09 08:49:29 +0000
committerVincent Torri <vincent.torri@gmail.com>2008-09-09 08:49:29 +0000
commit780b86504432d9ef7710cf2f9f347b67c4b82c00 (patch)
treeb78ed660018cd091a0c378825fa59ac045013f2f /legacy/emotion/src/modules/gstreamer
parentc52f7b7b627d8cc7067a13b9ca052192930e007e (diff)
fix position_set()
SVN revision: 35891
Diffstat (limited to 'legacy/emotion/src/modules/gstreamer')
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c3
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_gstreamer.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
index 4bb63484eb..0b89121b43 100644
--- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
+++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
@@ -558,8 +558,6 @@ em_pos_set(void *video,
558 558
559 ev = (Emotion_Gstreamer_Video *)video; 559 ev = (Emotion_Gstreamer_Video *)video;
560 560
561 if (ev->seek_to_pos == pos) return;
562
563 vsink = (Emotion_Video_Sink *)ecore_list_index_goto(ev->video_sinks, ev->video_sink_nbr); 561 vsink = (Emotion_Video_Sink *)ecore_list_index_goto(ev->video_sinks, ev->video_sink_nbr);
564 asink = (Emotion_Audio_Sink *)ecore_list_index_goto(ev->video_sinks, ev->audio_sink_nbr); 562 asink = (Emotion_Audio_Sink *)ecore_list_index_goto(ev->video_sinks, ev->audio_sink_nbr);
565 563
@@ -581,7 +579,6 @@ em_pos_set(void *video,
581 (gint64)(pos * (double)GST_SECOND), 579 (gint64)(pos * (double)GST_SECOND),
582 GST_SEEK_TYPE_NONE, -1); 580 GST_SEEK_TYPE_NONE, -1);
583 } 581 }
584 ev->seek_to_pos = pos;
585} 582}
586 583
587static void 584static void
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.h b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.h
index b33560465d..66d5352c2b 100644
--- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.h
+++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.h
@@ -83,7 +83,6 @@ struct _Emotion_Gstreamer_Video
83 83
84 volatile int seek_to; 84 volatile int seek_to;
85 volatile int get_poslen; 85 volatile int get_poslen;
86 volatile double seek_to_pos;
87 86
88 int fd_ev_read; 87 int fd_ev_read;
89 int fd_ev_write; 88 int fd_ev_write;