typefindfunctions: detect mp4 common file format variant

Used e.g. by UltraViolet.
This commit is contained in:
Tim-Philipp Müller 2014-08-06 19:31:25 +01:00
parent b6d49d2a12
commit 76199fddb6

View file

@ -3114,6 +3114,12 @@ qt_type_find (GstTypeFind * tf, gpointer unused)
break;
}
if (STRNCMP (&data[4], "ftypccff", 8) == 0) {
tip = GST_TYPE_FIND_MAXIMUM;
variant = "ccff";
break;
}
/* box/atom types that are in common with ISO base media file format */
if (STRNCMP (&data[4], "moov", 4) == 0 ||
STRNCMP (&data[4], "mdat", 4) == 0 ||