typefind: add support of BWF RF64 a 64bit wav variant
authorStefan Sauer <ensonic@users.sf.net>
Sun, 5 Jan 2014 22:35:52 +0000 (23:35 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 5 Jan 2014 22:35:52 +0000 (23:35 +0100)
Detect and describe the RF64 Broadcast Wave Format.
Fixes #519220

gst-libs/gst/pbutils/descriptions.c
gst/typefind/gsttypefindfunctions.c

index fd91901..6176ac7 100644 (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"},
index d391df0..53f1944 100644 (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,