From a2eab82164004fcf4a17c963ee45b6a0ad323bcf Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Wed, 21 Dec 2005 20:59:52 +0000 Subject: [PATCH] iLBC30 and iLBC20 added to typefind. Original commit message from CVS: iLBC30 and iLBC20 added to typefind. --- ChangeLog | 5 +++++ gst/typefind/gsttypefindfunctions.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2c1df4568a..0a6e217f2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-21 Edgard Lima + + * gst/typefind/gsttypefindfunctions.c: + iLBC30 and iLBC20 added to typefind. + 2005-12-20 Thomas Vander Stichele * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index cacc982187..5f710819cb 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -1898,6 +1898,7 @@ plugin_init (GstPlugin * plugin) static gchar *matroska_exts[] = { "mkv", "mka", NULL }; static gchar *dv_exts[] = { "dv", "dif", NULL }; static gchar *amr_exts[] = { "amr", NULL }; + static gchar *ilbc_exts[] = { "ilbc", NULL }; static gchar *sid_exts[] = { "sid", NULL }; static gchar *xcf_exts[] = { "xcf", NULL }; static gchar *mng_exts[] = { "mng", NULL }; @@ -2026,6 +2027,10 @@ plugin_init (GstPlugin * plugin) amr_exts, "#!AMR", 5, GST_TYPE_FIND_LIKELY); TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-amr-wb-sh", GST_RANK_PRIMARY, amr_exts, "#!AMR-WB", 7, GST_TYPE_FIND_MAXIMUM); + TYPE_FIND_REGISTER_START_WITH (plugin, "audio/iLBC-sh", GST_RANK_PRIMARY, + ilbc_exts, "#!iLBC30", 8, GST_TYPE_FIND_LIKELY); + TYPE_FIND_REGISTER_START_WITH (plugin, "audio/iLBC-sh", GST_RANK_PRIMARY, + ilbc_exts, "#!iLBC20", 8, GST_TYPE_FIND_LIKELY); TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-sid", GST_RANK_MARGINAL, sid_exts, "PSID", 4, GST_TYPE_FIND_MAXIMUM); TYPE_FIND_REGISTER_START_WITH (plugin, "image/x-xcf", GST_RANK_SECONDARY,