From 76199fddb640454380ac40dee6b7893be3f93075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 6 Aug 2014 19:31:25 +0100 Subject: [PATCH] typefindfunctions: detect mp4 common file format variant Used e.g. by UltraViolet. --- gst/typefind/gsttypefindfunctions.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 4d612f8747..c6073c3637 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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 ||