From 11a1acfe88203829e7a70905d88a4cbbc36d010a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 26 Jan 2011 09:06:10 +0000 Subject: [PATCH] typefinding: use image/x-icon as media type for ICON files That's what we've been using so far (e.g. gdkpixbufdec). --- gst/typefind/gsttypefindfunctions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 6c3b1acb2a..55af37f141 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -3908,7 +3908,7 @@ windows_icon_typefind (GstTypeFind * find, gpointer user_data) return; gst_type_find_suggest_simple (find, GST_TYPE_FIND_NEARLY_CERTAIN, - "image/vnd.microsoft.icon", NULL); + "image/x-icon", NULL); } @@ -4422,7 +4422,7 @@ plugin_init (GstPlugin * plugin) GST_TYPE_FIND_LIKELY); TYPE_FIND_REGISTER_START_WITH (plugin, "application/x-yuv4mpeg", GST_RANK_SECONDARY, y4m_exts, "YUV4MPEG2 ", 10, GST_TYPE_FIND_LIKELY); - TYPE_FIND_REGISTER (plugin, "image/vnd.microsoft.icon", GST_RANK_MARGINAL, + TYPE_FIND_REGISTER (plugin, "image/x-icon", GST_RANK_MARGINAL, windows_icon_typefind, NULL, NULL, NULL, NULL); #ifdef USE_GIO