mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
amcaudiodec: Use 1.0-style raw audio caps
This commit is contained in:
parent
75493a7731
commit
fd8defc525
1 changed files with 2 additions and 5 deletions
|
@ -281,13 +281,10 @@ create_src_caps (const GstAmcCodecInfo * codec_info)
|
|||
{
|
||||
GstCaps *ret;
|
||||
|
||||
ret = gst_caps_new_simple ("audio/x-raw-int",
|
||||
ret = gst_caps_new_simple ("audio/x-raw",
|
||||
"rate", GST_TYPE_INT_RANGE, 1, G_MAXINT,
|
||||
"channels", GST_TYPE_INT_RANGE, 1, G_MAXINT,
|
||||
"width", G_TYPE_INT, 16,
|
||||
"depth", G_TYPE_INT, 16,
|
||||
"signed", G_TYPE_BOOLEAN, TRUE,
|
||||
"endianness", G_TYPE_INT, G_BYTE_ORDER, NULL);
|
||||
"format", G_TYPE_STRING, GST_AUDIO_NE(S16), NULL);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue