typefind: also check moof to recognize video/quicktime

Helps recognizing fragmented files with the right type
This commit is contained in:
Thiago Santos 2015-07-06 10:05:53 -03:00
parent bf23f44239
commit 822b1d4511

View file

@ -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;