From 760ae91ec351ea0e6af5ebf8e6fc5f1c15dc5539 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 22 May 2010 08:55:21 +0200 Subject: [PATCH] typefindfunctions: Add IVF typefinder --- gst/typefind/gsttypefindfunctions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index d333c8e..d103dc6 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -3730,6 +3730,7 @@ plugin_init (GstPlugin * plugin) static const gchar *ps_exts[] = { "ps", NULL }; static const gchar *svg_exts[] = { "svg", NULL }; static const gchar *mxf_exts[] = { "mxf", NULL }; + static const gchar *ivf_exts[] = { "ivf", NULL }; static const gchar *msword_exts[] = { "doc", NULL }; static const gchar *dsstore_exts[] = { "DS_Store", NULL }; static const gchar *psd_exts[] = { "psd", NULL }; @@ -3973,6 +3974,8 @@ plugin_init (GstPlugin * plugin) TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-sap", GST_RANK_SECONDARY, sap_exts, "SAP\x0d\x0aAUTHOR\x20", 12, GST_TYPE_FIND_MAXIMUM); + TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-ivf", GST_RANK_SECONDARY, + ivf_exts, "DKIF", 4, GST_TYPE_FIND_NEARLY_CERTAIN); TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-kss", GST_RANK_SECONDARY, kss_exts, "KSSX\0", 5, GST_TYPE_FIND_MAXIMUM); TYPE_FIND_REGISTER_START_WITH (plugin, "application/pdf", GST_RANK_SECONDARY, -- 2.7.4