wavparse: Declare support for RF64
authorJan Schmidt <jan@centricular.com>
Sun, 24 Feb 2019 14:12:56 +0000 (01:12 +1100)
committerJan Schmidt <thaytan@noraisin.net>
Sun, 24 Feb 2019 14:29:27 +0000 (14:29 +0000)
RF64 encode support was added to wavenc quite some time
ago, but not declared in wavparse. It seems wavparse can
decode it though, so add it to the sink pad.

The RF64 support was added in
https://bugzilla.gnome.org/show_bug.cgi?id=735627

gst/wavparse/gstwavparse.c

index efc3b74..22ed042 100644 (file)
@@ -102,10 +102,10 @@ enum
 };
 
 static GstStaticPadTemplate sink_template_factory =
-GST_STATIC_PAD_TEMPLATE ("sink",
+    GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("audio/x-wav")
+    GST_STATIC_CAPS ("audio/x-wav;audio/x-rf64")
     );
 
 #define DEBUG_INIT \