mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
opusenc: Place 48kHz first in the caps
For all the other sample rates the encoder will have to resample internally.
This commit is contained in:
parent
54a5859960
commit
7cadfcb0b0
1 changed files with 6 additions and 1 deletions
|
@ -166,7 +166,12 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_STATIC_CAPS ("audio/x-raw, "
|
||||
"format = (string) " FORMAT_STR ", "
|
||||
"layout = (string) interleaved, "
|
||||
"rate = (int) { 8000, 12000, 16000, 24000, 48000 }, "
|
||||
"rate = (int) 48000, "
|
||||
"channels = (int) [ 1, 2 ]; "
|
||||
"audio/x-raw, "
|
||||
"format = (string) " FORMAT_STR ", "
|
||||
"layout = (string) interleaved, "
|
||||
"rate = (int) { 8000, 12000, 16000, 24000 }, "
|
||||
"channels = (int) [ 1, 2 ] ")
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue