summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter G. Baum <peter@dr-baum.net>2014-11-09 12:53:32 +0100
committerTim-Philipp Müller <tim@centricular.com>2014-11-09 14:58:38 +0000
commit1ae9b98e950806ff37d44e9ea09ff62de3366626 (patch)
treeebf251fffedb5086fa3938f224c4c117523faf2d
parente243de82d75dc33d4a547b2cca6d65e7625c4267 (diff)
typefind: recognize Apple Core Audio Format
(CAF) Specification 1.0 https://bugzilla.gnome.org/show_bug.cgi?id=739840
-rw-r--r--gst/typefind/gsttypefindfunctions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index 037a65ddb..c9521f915 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -5646,6 +5646,8 @@ plugin_init (GstPlugin * plugin)
wavpack_type_find, "wv,wvp", WAVPACK_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/x-wavpack-correction", GST_RANK_SECONDARY,
wavpack_type_find, "wvc", WAVPACK_CORRECTION_CAPS, NULL, NULL);
+ TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-caf", GST_RANK_SECONDARY,
+ "caf", "caff\000\001", 6, GST_TYPE_FIND_MAXIMUM);
TYPE_FIND_REGISTER (plugin, "application/postscript", GST_RANK_SECONDARY,
postscript_type_find, "ps", POSTSCRIPT_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "image/svg+xml", GST_RANK_SECONDARY,