typefind: add support of BWF RF64 a 64bit wav variant

Detect and describe the RF64 Broadcast Wave Format.
Fixes #519220
This commit is contained in:
Stefan Sauer 2014-01-05 23:35:52 +01:00
parent 28ce2c4053
commit 86e6f10781
2 changed files with 3 additions and 0 deletions

View file

@ -160,6 +160,7 @@ static const FormatInfo formats[] = {
{"audio/x-qdm", "QDesign Music (QDM)", FLAG_AUDIO, ""},
{"audio/x-qdm2", "QDesign Music (QDM) 2", FLAG_AUDIO, ""},
{"audio/x-ralf-mpeg4-generic", "Real Audio Lossless (RALF)", FLAG_AUDIO, ""},
{"audio/x-rf64", "Broadcast Wave Format", AUDIO_CONTAINER, "rf64"},
{"audio/x-sbc", "Low Complexity Subband Coding", FLAG_AUDIO, "sbc"},
{"audio/x-sds", "Midi Sample Dump Standard", FLAG_AUDIO, ""},
{"audio/x-shorten", "Shorten Lossless", FLAG_AUDIO, "shn"},

View file

@ -5555,6 +5555,8 @@ plugin_init (GstPlugin * plugin)
ircam_type_find, "sf", IRCAM_CAPS, NULL, NULL);
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-w64", GST_RANK_SECONDARY,
"w64", "riff", 4, GST_TYPE_FIND_MAXIMUM);
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-rf64", GST_RANK_PRIMARY,
"rf64", "RF64", 4, GST_TYPE_FIND_MAXIMUM);
TYPE_FIND_REGISTER (plugin, "audio/x-shorten", GST_RANK_SECONDARY,
shn_type_find, "shn", SHN_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "application/x-ape", GST_RANK_SECONDARY,