From: David Schleef Date: Fri, 23 Jul 2004 03:09:50 +0000 (+0000) Subject: gst/typefind/gsttypefindfunctions.c: Add typefind for ELF files, since they can easil... X-Git-Tag: BRANCH-GSTREAMER-0_8-ROOT~827 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85eda4f23533e81539fb56803587f341868f0a6a;p=platform%2Fupstream%2Fgst-plugins-base.git gst/typefind/gsttypefindfunctions.c: Add typefind for ELF files, since they can easily be recognized as audio/mpeg. Original commit message from CVS: * gst/typefind/gsttypefindfunctions.c: (plugin_init): Add typefind for ELF files, since they can easily be recognized as audio/mpeg. (bug #147441) --- diff --git a/ChangeLog b/ChangeLog index 38a591a..8a66fdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-07-22 David Schleef + + * gst/typefind/gsttypefindfunctions.c: (plugin_init): Add typefind + for ELF files, since they can easily be recognized as audio/mpeg. + (bug #147441) + 2004-07-22 Thomas Vander Stichele * gst/videoscale/videoscale.c: (gst_videoscale_setup), diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 32d6aac..bb16720 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -1403,6 +1403,8 @@ plugin_init (GstPlugin * plugin) speex_type_find, NULL, SPEEX_CAPS, NULL); TYPE_FIND_REGISTER (plugin, "audio/x-m4a", GST_RANK_PRIMARY, m4a_type_find, m4a_exts, AAC_CAPS, NULL); + TYPE_FIND_REGISTER_START_WITH (plugin, "application/x-executable", + GST_RANK_MARGINAL, NULL, "\177ELF", 4, GST_TYPE_FIND_MAXIMUM); return TRUE; }