mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
amrwbdec: Add the new layout field to the raw audio caps
This commit is contained in:
parent
3eae4839f2
commit
f7e7a959d8
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,7 @@ static GstStaticPadTemplate src_template = 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) 16000, " "channels = (int) 1")
|
||||
);
|
||||
|
||||
|
@ -151,6 +152,7 @@ gst_amrwbdec_set_format (GstAudioDecoder * dec, GstCaps * caps)
|
|||
/* create reverse caps */
|
||||
copy = gst_caps_new_simple ("audio/x-raw",
|
||||
"format", G_TYPE_STRING, GST_AUDIO_NE (S16),
|
||||
"layout", G_TYPE_STRING, "interleaved",
|
||||
"channels", G_TYPE_INT, amrwbdec->channels,
|
||||
"rate", G_TYPE_INT, amrwbdec->rate, NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue