pbutils: add typefinder and descriptions for audio/x-xi

xi files can be read by libsndfile.
This commit is contained in:
Stefan Sauer 2013-12-17 18:04:33 +01:00
parent e09253724b
commit 51038d70aa
3 changed files with 5 additions and 1 deletions

View file

@ -181,6 +181,7 @@ static const FormatInfo formats[] = {
{"audio/x-wavpack-correction", "Wavpack", 0, "wpc"},
{"audio/x-wms", N_("Windows Media Speech"), FLAG_AUDIO, ""},
{"audio/x-voxware", "Voxware", FLAG_AUDIO, ""},
{"audio/x-xi", "Fasttracker 2 Extended Instrument", FLAG_AUDIO, "xi"},
/* video formats with static descriptions */

View file

@ -5716,6 +5716,9 @@ plugin_init (GstPlugin * plugin)
TYPE_FIND_REGISTER (plugin, "video/x-pva", GST_RANK_SECONDARY,
pva_type_find, "pva", PVA_CAPS, NULL, NULL);
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-xi", GST_RANK_SECONDARY,
"xi", "Extended Instrument: ", 21, GST_TYPE_FIND_MAXIMUM);
return TRUE;
}

View file

@ -263,7 +263,7 @@ static const gchar *caps_strings[] = {
"audio/x-svx", "audio/x-tta", "audio/x-ttafile",
"audio/x-vnd.sony.atrac3", "audio/x-vorbis", "audio/x-voc", "audio/x-w64",
"audio/x-wav", "audio/x-wavpack", "audio/x-wavpack-correction",
"audio/x-wms", "audio/x-voxware", "video/sp5x", "video/vivo",
"audio/x-wms", "audio/x-voxware", "audio/x-xi", "video/sp5x", "video/vivo",
"video/x-4xm", "video/x-apple-video", "video/x-camtasia",
"video/x-cdxa", "video/x-cinepak", "video/x-cirrus-logic-accupak",
"video/x-compressed-yuv", "video/x-dirac", "subpicture/x-dvd",