gst/typefind/gsttypefindfunctions.c (plugin_init): Add an audio/x-nsf typefind function for the nsfdec element.

Original commit message from CVS:
2007-09-03  Johan Dahlin  <jdahlin@async.com.br>

* gst/typefind/gsttypefindfunctions.c (plugin_init):
Add an audio/x-nsf typefind function for the nsfdec element.
This commit is contained in:
Johan Dahlin 2007-09-04 01:50:55 +00:00
parent ac042e8869
commit 417107b40e
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-09-03 Johan Dahlin <jdahlin@async.com.br>
* gst/typefind/gsttypefindfunctions.c (plugin_init):
Add an audio/x-nsf typefind function for the nsfdec element.
2007-09-03 Renato Filho <renato.filho@indt.org.br>
* gst/playback/gstplaybasebin.c:
Included "myth://" on stream_uris list for enable buffering to mythtv files

View file

@ -2834,6 +2834,7 @@ plugin_init (GstPlugin * plugin)
static gchar *m4v_exts[] = { "m4v", NULL };
static gchar *nuv_exts[] = { "nuv", NULL };
static gchar *vivo_exts[] = { "viv", NULL };
static gchar *nsf_exts[] = { "nsf", NULL };
GST_DEBUG_CATEGORY_INIT (type_find_debug, "typefindfunctions",
GST_DEBUG_FG_GREEN | GST_DEBUG_BG_RED, "generic type find functions");
@ -3029,6 +3030,8 @@ plugin_init (GstPlugin * plugin)
mmsh_type_find, NULL, MMSH_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "video/vivo", GST_RANK_SECONDARY,
vivo_type_find, vivo_exts, VIVO_CAPS, NULL, NULL);
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-nsf",
GST_RANK_SECONDARY, nsf_exts, "NESM\x1a", 5, GST_TYPE_FIND_MAXIMUM);
return TRUE;
}