From: <mn...@ke...> - 2009-08-31 14:54:32
|
Module: gst-plugins-good Branch: master Commit: 15fa7d33edeb7a4d2c9c5e8baddab9644e7b82a8 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=15fa7d33edeb7a4d2c9c5e8baddab9644e7b82a8 Author: Mark Nauwelaerts <mar...@co...> Date: Tue Aug 18 17:17:28 2009 +0200 qtdemux: also extract ftyp info in push mode --- gst/qtdemux/qtdemux.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 0c7689f..4bfcc59 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -2638,6 +2638,10 @@ gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf) g_node_destroy (demux->moov_node); demux->moov_node = NULL; GST_DEBUG_OBJECT (demux, "Finished parsing the header"); + } + if (fourcc == FOURCC_ftyp) { + GST_DEBUG_OBJECT (demux, "Parsing [ftyp]"); + qtdemux_parse_ftyp (demux, data, demux->neededbytes); } else { GST_WARNING_OBJECT (demux, "Unknown fourcc while parsing header : %" GST_FOURCC_FORMAT, |