mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
typefindfunctions: detect mp4 common file format variant
Used e.g. by UltraViolet.
This commit is contained in:
parent
b6d49d2a12
commit
76199fddb6
1 changed files with 6 additions and 0 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Reference in a new issue