mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
obs-outputs: Log encoder incompatible with dynamic bitrate
This logs that dynamic bitrate is disabled when a codec which does not support bitrate reconfiguration is used, such as aom, svt-av1 ... Signed-off-by: pkv <pkv@obsproject.com>
This commit is contained in:
parent
1578cca9b2
commit
dfac68b189
@ -1359,6 +1359,8 @@ static bool init_connect(struct rtmp_stream *stream)
|
||||
caps = obs_encoder_get_caps(venc);
|
||||
if ((caps & OBS_ENCODER_CAP_DYN_BITRATE) == 0) {
|
||||
stream->dbr_enabled = false;
|
||||
info("Dynamic bitrate disabled. "
|
||||
"The encoder does not support on-the-fly bitrate reconfiguration.");
|
||||
}
|
||||
|
||||
if (obs_output_get_delay(stream->output) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user