mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
qtdemux: avoid looping reading the 'moof' atom forever
It gets stuck if it only finds a moof and no mfra/mfro or moov atoms. Skip the moof to continue the parsing to have it either play or error out. https://bugzilla.gnome.org/show_bug.cgi?id=745089
This commit is contained in:
parent
3f6a868f7e
commit
f40c1f8b09
1 changed files with 2 additions and 0 deletions
|
@ -3313,6 +3313,8 @@ gst_qtdemux_loop_state_header (GstQTDemux * qtdemux)
|
|||
}
|
||||
if (qtdemux_pull_mfro_mfra (qtdemux)) {
|
||||
/* FIXME */
|
||||
} else {
|
||||
qtdemux->offset += length; /* skip moof and keep going */
|
||||
}
|
||||
if (qtdemux->got_moov) {
|
||||
GST_INFO_OBJECT (qtdemux, "moof header, got moov, done with headers");
|
||||
|
|
Loading…
Reference in a new issue