mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
typefind: also check moof to recognize video/quicktime
Helps recognizing fragmented files with the right type
This commit is contained in:
parent
bf23f44239
commit
822b1d4511
1 changed files with 1 additions and 0 deletions
|
@ -3126,6 +3126,7 @@ qt_type_find (GstTypeFind * tf, gpointer unused)
|
|||
STRNCMP (&data[4], "ftyp", 4) == 0 ||
|
||||
STRNCMP (&data[4], "free", 4) == 0 ||
|
||||
STRNCMP (&data[4], "uuid", 4) == 0 ||
|
||||
STRNCMP (&data[4], "moof", 4) == 0 ||
|
||||
STRNCMP (&data[4], "skip", 4) == 0) {
|
||||
if (tip == 0) {
|
||||
tip = GST_TYPE_FIND_LIKELY;
|
||||
|
|
Loading…
Reference in a new issue