mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
opusenc: change default bitrate-type from cbr to constrained-vbr
Which is the default in libopus itself as well, with a comment that constrained-vbr is considered "safer for real-time use". Unclear why CBR was the default in the first place. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1451>
This commit is contained in:
parent
30d028317b
commit
a525a76e54
2 changed files with 2 additions and 2 deletions
|
@ -7769,7 +7769,7 @@
|
|||
"construct": false,
|
||||
"construct-only": false,
|
||||
"controllable": false,
|
||||
"default": "cbr (0)",
|
||||
"default": "constrained-vbr (2)",
|
||||
"mutable": "playing",
|
||||
"readable": true,
|
||||
"type": "GstOpusEncBitrateType",
|
||||
|
|
|
@ -195,7 +195,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
#define DEFAULT_FRAMESIZE 20
|
||||
#define DEFAULT_CBR TRUE
|
||||
#define DEFAULT_CONSTRAINED_VBR TRUE
|
||||
#define DEFAULT_BITRATE_TYPE BITRATE_TYPE_CBR
|
||||
#define DEFAULT_BITRATE_TYPE BITRATE_TYPE_CONSTRAINED_VBR
|
||||
#define DEFAULT_COMPLEXITY 10
|
||||
#define DEFAULT_INBAND_FEC FALSE
|
||||
#define DEFAULT_DTX FALSE
|
||||
|
|
Loading…
Reference in a new issue