0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +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:
pkv 2023-04-14 12:57:12 +02:00 committed by Jim
parent 1578cca9b2
commit dfac68b189

View File

@ -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) {