summaryrefslogtreecommitdiffstats
path: root/gst/flv/gstflvdemux.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-02 14:37:54 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-03 12:21:34 +0200
commit48b784e7155d234646ac52e5a8e4430a88966856 (patch)
treef6bfbb41a10468944e832441eaa6b5e5e5a80c2a /gst/flv/gstflvdemux.c
parentf84bc538b5ea431502bbd084a2622a12cae9a213 (diff)
flvdemux: If there's no audio stream after 6 seconds of video signal no-more-pads
...and the other way around. Also ignore any audio/video streams that appear after no-more-pads. Fixes bug #597091.
Diffstat (limited to 'gst/flv/gstflvdemux.c')
-rw-r--r--gst/flv/gstflvdemux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index 37dd614b..4492d30b 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -112,6 +112,8 @@ gst_flv_demux_cleanup (GstFLVDemux * demux)
demux->push_tags = FALSE;
demux->got_par = FALSE;
+ demux->audio_start = demux->video_start = GST_CLOCK_TIME_NONE;
+
demux->no_more_pads = FALSE;
gst_segment_init (&demux->segment, GST_FORMAT_TIME);