encoder: Fix crash because of missing string parameter
This commit is contained in:
+3
-3
@@ -972,10 +972,10 @@ bool obsffmpeg::encoder::update(obs_data_t* settings)
|
|||||||
|
|
||||||
PLOG_INFO("[%s] Keyframes: ", _codec->name);
|
PLOG_INFO("[%s] Keyframes: ", _codec->name);
|
||||||
if (_context->keyint_min != _context->gop_size) {
|
if (_context->keyint_min != _context->gop_size) {
|
||||||
PLOG_INFO("[%s] Minimum: %i frames", _context->keyint_min);
|
PLOG_INFO("[%s] Minimum: %i frames", _codec->name, _context->keyint_min);
|
||||||
PLOG_INFO("[%s] Maximum: %i frames", _context->gop_size);
|
PLOG_INFO("[%s] Maximum: %i frames", _codec->name, _context->gop_size);
|
||||||
} else {
|
} else {
|
||||||
PLOG_INFO("[%s] Distance: %i frames", _context->gop_size);
|
PLOG_INFO("[%s] Distance: %i frames", _codec->name, _context->gop_size);
|
||||||
}
|
}
|
||||||
_handler->log_options(settings, _codec, _context);
|
_handler->log_options(settings, _codec, _context);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user