diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2009-08-18 17:17:28 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2009-08-31 16:50:01 +0200 |
commit | 15fa7d33edeb7a4d2c9c5e8baddab9644e7b82a8 (patch) | |
tree | 08a699d0fa073d7b550a8f39795fd2c6257d90a4 /gst | |
parent | c469f6b38d289a5c2c2acaf4343223b5b7fa217d (diff) |
qtdemux: also extract ftyp info in push mode
Diffstat (limited to 'gst')
-rw-r--r-- | 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 0c7689fe..4bfcc59f 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, |