gst/typefind/gsttypefindfunctions.c: Prefer apev1/2 and id3v1 (at end of file) over musepack.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Prefer apev1/2 and id3v1 (at end of file) over musepack.
This commit is contained in:
Ronald S. Bultje 2004-11-11 21:05:47 +00:00
parent a03c7527df
commit 4c305b8cb5
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Prefer apev1/2 and id3v1 (at end of file) over musepack.
2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_loop_stream): * gst/matroska/matroska-demux.c: (gst_matroska_demux_loop_stream):

View file

@ -1454,8 +1454,9 @@ plugin_init (GstPlugin * plugin)
asf_exts, asf_exts,
"\060\046\262\165\216\146\317\021\246\331\000\252\000\142\316\154", 16, "\060\046\262\165\216\146\317\021\246\331\000\252\000\142\316\154", 16,
GST_TYPE_FIND_MAXIMUM); GST_TYPE_FIND_MAXIMUM);
/* -1 so id3v1 or apev1/2 are detected with higher preference */
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-musepack", GST_RANK_PRIMARY, TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-musepack", GST_RANK_PRIMARY,
musepack_exts, "MP+", 3, GST_TYPE_FIND_MAXIMUM); musepack_exts, "MP+", 3, GST_TYPE_FIND_MAXIMUM - 1);
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-au", GST_RANK_MARGINAL, TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-au", GST_RANK_MARGINAL,
au_exts, ".snd", 4, GST_TYPE_FIND_MAXIMUM); au_exts, ".snd", 4, GST_TYPE_FIND_MAXIMUM);
TYPE_FIND_REGISTER_RIFF (plugin, "video/x-msvideo", GST_RANK_PRIMARY, TYPE_FIND_REGISTER_RIFF (plugin, "video/x-msvideo", GST_RANK_PRIMARY,