mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
qtdemux: also extract ftyp info in push mode
This commit is contained in:
parent
c469f6b38d
commit
15fa7d33ed
1 changed files with 4 additions and 0 deletions
|
@ -2638,6 +2638,10 @@ gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf)
|
||||||
g_node_destroy (demux->moov_node);
|
g_node_destroy (demux->moov_node);
|
||||||
demux->moov_node = NULL;
|
demux->moov_node = NULL;
|
||||||
GST_DEBUG_OBJECT (demux, "Finished parsing the header");
|
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 {
|
} else {
|
||||||
GST_WARNING_OBJECT (demux,
|
GST_WARNING_OBJECT (demux,
|
||||||
"Unknown fourcc while parsing header : %" GST_FOURCC_FORMAT,
|
"Unknown fourcc while parsing header : %" GST_FOURCC_FORMAT,
|
||||||
|
|
Loading…
Reference in a new issue