dtmfsrc: Declare output as interleaved
authorOlivier Crête <olivier.crete@collabora.com>
Sun, 28 Oct 2018 17:12:59 +0000 (17:12 +0000)
committerOlivier Crête <olivier.crete@collabora.com>
Sun, 28 Oct 2018 17:12:59 +0000 (17:12 +0000)
This element doesn't support planar audio yet.

gst/dtmf/gstdtmfsrc.c

index 88f0f082437c7330a4d4c7ed746eefa1fbcc1b94..bd011667dc139b4381bd89f7351e8339aab5cd9b 100644 (file)
@@ -208,7 +208,8 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) \"" GST_AUDIO_NE (S16) "\", "
-        "rate = " GST_AUDIO_RATE_RANGE ", " "channels = (int) 1")
+        "rate = " GST_AUDIO_RATE_RANGE ", " "channels = (int) 1, "
+        "layout = (string)interleaved")
     );
 
 #define parent_class gst_dtmf_src_parent_class