diff options
author | Julien Moutte <julien@moutte.net> | 2007-08-22 14:03:42 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2007-08-22 14:03:42 +0000 |
commit | 79a984c303998dd0ca17f4cc64f5e4321522d575 (patch) | |
tree | c5d1199570b7164ca1677f80f72c96c572bce990 /gst/flv/gstflvdemux.c | |
parent | 2edfcea585ee1ef195ca2ebad81f546a506a2ba0 (diff) | |
download | gst-plugins-bad-79a984c303998dd0ca17f4cc64f5e4321522d575.tar.gz gst-plugins-bad-79a984c303998dd0ca17f4cc64f5e4321522d575.tar.bz2 gst-plugins-bad-79a984c303998dd0ca17f4cc64f5e4321522d575.zip |
gst/flv/: Make sure we don't try filling up the index if no times object was parsed. Fix the way we decide to push ta...
Original commit message from CVS:
2007-08-22 Julien MOUTTE <julien@moutte.net>
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag):
* gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
(gst_flv_parse_tag_script), (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): Make sure we don't try filling up the
index if no times object was parsed. Fix the way we decide to
push
tags and emit no-more-pads. Fix some printf typing in debugging.
Diffstat (limited to 'gst/flv/gstflvdemux.c')
-rw-r--r-- | gst/flv/gstflvdemux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 3f727f1c..3a644c38 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -332,6 +332,9 @@ gst_flv_demux_pull_tag (GstPad * pad, GstFLVDemux * demux) /* If either audio or video is linked we return GST_FLOW_OK */ if (demux->audio_linked || demux->video_linked) { ret = GST_FLOW_OK; + } else { + GST_WARNING_OBJECT (demux, "parsing this tag returned not-linked and " + "neither video nor audio are linked"); } } |