summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdemux.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-06-14 15:59:56 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-06-14 15:59:56 +0000
commit778a0bf950696d4eae1071b4a49bcccf2225bfe4 (patch)
tree3f26bea81800918f4c2a846ad322bab4330647c5 /ext/dv/gstdvdemux.c
parent4d4c2a55208567c6785dc1fc162403e61c93d87a (diff)
ext/dv/gstdvdec.c: Reset segment info on flush.
Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init), (gst_dvdec_finalize), (gst_dvdec_sink_event), (gst_dvdec_change_state): Reset segment info on flush. Alloc segment in _init, free in _finalize. * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_pull_seek): Don't send segments twice.
Diffstat (limited to 'ext/dv/gstdvdemux.c')
-rw-r--r--ext/dv/gstdvdemux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c
index bd2c3ac3..1d005fb5 100644
--- a/ext/dv/gstdvdemux.c
+++ b/ext/dv/gstdvdemux.c
@@ -1080,6 +1080,8 @@ gst_dvdemux_handle_pull_seek (GstDVDemux * demux, GstPad * pad,
gst_event_new_new_segment (FALSE,
demux->time_segment.rate, demux->time_segment.format,
demux->time_segment.last_stop, stop, demux->time_segment.time));
+
+ demux->need_segment = FALSE;
}
demux->running = TRUE;