gst/typefind/gsttypefindfunctions.c: Add typefinder for IMelody files, using audio/x-imelody.
Original commit message from CVS: * gst/typefind/gsttypefindfunctions.c: (plugin_init): Add typefinder for IMelody files, using audio/x-imelody. See bug #519516.
This commit is contained in:
parent
ec7afb6f84
commit
6f86b8b8a7
@ -1,3 +1,9 @@
|
|||||||
|
2008-03-03 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
|
||||||
|
Add typefinder for IMelody files, using audio/x-imelody.
|
||||||
|
See bug #519516.
|
||||||
|
|
||||||
2008-03-03 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-03-03 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_get_type):
|
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_get_type):
|
||||||
|
@ -2961,6 +2961,7 @@ plugin_init (GstPlugin * plugin)
|
|||||||
static gchar *vivo_exts[] = { "viv", NULL };
|
static gchar *vivo_exts[] = { "viv", NULL };
|
||||||
static gchar *nsf_exts[] = { "nsf", NULL };
|
static gchar *nsf_exts[] = { "nsf", NULL };
|
||||||
static gchar *mid_exts[] = { "mid", "midi", NULL };
|
static gchar *mid_exts[] = { "mid", "midi", NULL };
|
||||||
|
static gchar *imelody_exts[] = { "imy", "ime", "imelody", NULL };
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (type_find_debug, "typefindfunctions",
|
GST_DEBUG_CATEGORY_INIT (type_find_debug, "typefindfunctions",
|
||||||
GST_DEBUG_FG_GREEN | GST_DEBUG_BG_RED, "generic type find functions");
|
GST_DEBUG_FG_GREEN | GST_DEBUG_BG_RED, "generic type find functions");
|
||||||
@ -2983,6 +2984,8 @@ plugin_init (GstPlugin * plugin)
|
|||||||
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-vcd", GST_RANK_PRIMARY,
|
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-vcd", GST_RANK_PRIMARY,
|
||||||
cdxa_exts, "\000\377\377\377\377\377\377\377\377\377\377\000", 12,
|
cdxa_exts, "\000\377\377\377\377\377\377\377\377\377\377\000", 12,
|
||||||
GST_TYPE_FIND_MAXIMUM);
|
GST_TYPE_FIND_MAXIMUM);
|
||||||
|
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-imelody", GST_RANK_PRIMARY,
|
||||||
|
imelody_exts, "BEGIN:IMELODY", 13, GST_TYPE_FIND_MAXIMUM);
|
||||||
#if 0
|
#if 0
|
||||||
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-smoke", GST_RANK_PRIMARY,
|
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-smoke", GST_RANK_PRIMARY,
|
||||||
NULL, "\x80smoke\x00\x01\x00", 6, GST_TYPE_FIND_MAXIMUM);
|
NULL, "\x80smoke\x00\x01\x00", 6, GST_TYPE_FIND_MAXIMUM);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user