mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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
614ea95690
commit
18c8abec6d
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