From 87f2e7042722f1e8235679bd4ef60e47028030df Mon Sep 17 00:00:00 2001 From: Julien Moutte Date: Fri, 14 Sep 2007 10:42:00 +0000 Subject: [PATCH] gst/typefind/gsttypefindfunctions.c: Add some typefind for QCP files (RFC #3625) Original commit message from CVS: 2007-09-14 Julien MOUTTE * gst/typefind/gsttypefindfunctions.c: (plugin_init): Add some typefind for QCP files (RFC #3625) --- ChangeLog | 5 +++++ gst/typefind/gsttypefindfunctions.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7f362208ef..c7e02c967d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-14 Julien MOUTTE + + * gst/typefind/gsttypefindfunctions.c: (plugin_init): Add some + typefind for QCP files (RFC #3625) + 2007-09-13 Wim Taymans * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 7042c8d3b3..8a20aae2bf 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -2760,6 +2760,7 @@ plugin_init (GstPlugin * plugin) static gchar *asf_exts[] = { "asf", "wm", "wma", "wmv", NULL }; static gchar *au_exts[] = { "au", "snd", NULL }; static gchar *avi_exts[] = { "avi", NULL }; + static gchar *qcp_exts[] = { "qcp", NULL }; static gchar *cdxa_exts[] = { "dat", NULL }; static gchar *flac_exts[] = { "flac", NULL }; static gchar *flx_exts[] = { "flc", "fli", NULL }; @@ -2850,6 +2851,8 @@ plugin_init (GstPlugin * plugin) au_type_find, au_exts, AU_CAPS, NULL, NULL); TYPE_FIND_REGISTER_RIFF (plugin, "video/x-msvideo", GST_RANK_PRIMARY, avi_exts, "AVI "); + TYPE_FIND_REGISTER_RIFF (plugin, "audio/qcelp", GST_RANK_PRIMARY, + qcp_exts, "QLCM"); TYPE_FIND_REGISTER_RIFF (plugin, "video/x-cdxa", GST_RANK_PRIMARY, cdxa_exts, "CDXA"); TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-vcd", GST_RANK_PRIMARY,