iLBC30 and iLBC20 added to typefind.

Original commit message from CVS:
iLBC30 and iLBC20 added to typefind.
This commit is contained in:
Edgard Lima 2005-12-21 20:59:52 +00:00
parent 751b91e26c
commit a2eab82164
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-12-21 Edgard Lima <edgard.lima@indt.org.br>
* gst/typefind/gsttypefindfunctions.c:
iLBC30 and iLBC20 added to typefind.
2005-12-20 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/gst/audio/gstbaseaudiosink.c:

View file

@ -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,