mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 21:46:22 +00:00
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)
This commit is contained in:
parent
769c94e3af
commit
85eda4f235
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-07-22 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* 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 <thomas at apestaart dot org>
|
2004-07-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/videoscale/videoscale.c: (gst_videoscale_setup),
|
* gst/videoscale/videoscale.c: (gst_videoscale_setup),
|
||||||
|
|
|
@ -1403,6 +1403,8 @@ plugin_init (GstPlugin * plugin)
|
||||||
speex_type_find, NULL, SPEEX_CAPS, NULL);
|
speex_type_find, NULL, SPEEX_CAPS, NULL);
|
||||||
TYPE_FIND_REGISTER (plugin, "audio/x-m4a", GST_RANK_PRIMARY, m4a_type_find,
|
TYPE_FIND_REGISTER (plugin, "audio/x-m4a", GST_RANK_PRIMARY, m4a_type_find,
|
||||||
m4a_exts, AAC_CAPS, NULL);
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue