summaryrefslogtreecommitdiff
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-08-18 15:17:28 (GMT)
committer Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-08-31 14:50:01 (GMT)
commit15fa7d33edeb7a4d2c9c5e8baddab9644e7b82a8 (patch) (side-by-side diff)
tree08a699d0fa073d7b550a8f39795fd2c6257d90a4
parentc469f6b38d289a5c2c2acaf4343223b5b7fa217d (diff)
downloadgst-plugins-good-15fa7d33edeb7a4d2c9c5e8baddab9644e7b82a8.zip
gst-plugins-good-15fa7d33edeb7a4d2c9c5e8baddab9644e7b82a8.tar.gz
qtdemux: also extract ftyp info in push mode
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst/qtdemux/qtdemux.c4
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,