From cdf927ab52a290a507281ea214c51f629d50c39e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 7 Mar 2012 14:54:15 +0100 Subject: [PATCH] law: add layout to audio caps --- gst/law/alaw.c | 2 ++ gst/law/mulaw.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gst/law/alaw.c b/gst/law/alaw.c index 5d9d8f769c..ba6258ea54 100644 --- a/gst/law/alaw.c +++ b/gst/law/alaw.c @@ -30,6 +30,7 @@ GstStaticPadTemplate alaw_dec_src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw, " "format = (string) " GST_AUDIO_NE (S16) ", " + "layout = (string) interleaved, " "rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]") ); @@ -45,6 +46,7 @@ GstStaticPadTemplate alaw_enc_sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw, " "format = (string) " GST_AUDIO_NE (S16) ", " + "layout = (string) interleaved, " "rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]") ); diff --git a/gst/law/mulaw.c b/gst/law/mulaw.c index ba310db179..567315ba74 100644 --- a/gst/law/mulaw.c +++ b/gst/law/mulaw.c @@ -33,6 +33,7 @@ GstStaticPadTemplate mulaw_dec_src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw, " "format = (string) " INT_FORMAT ", " + "layout = (string) interleaved, " "rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]") ); @@ -48,6 +49,7 @@ GstStaticPadTemplate mulaw_enc_sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw, " "format = (string) " INT_FORMAT ", " + "layout = (string) interleaved, " "rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]") );