mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 20:35:12 +00:00
encoders/ffmpeg: Use correct parameter for log (#355)
This commit is contained in:
parent
dc311f5ce6
commit
bb3dcf73ac
1 changed files with 2 additions and 2 deletions
|
@ -1136,7 +1136,7 @@ void ffmpeg_manager::register_encoders()
|
|||
try {
|
||||
_factories.emplace(codec, std::make_shared<ffmpeg_factory>(codec));
|
||||
} catch (const std::exception& ex) {
|
||||
DLOG_ERROR("Failed to register encoder '%s': %s", codec->id, ex.what());
|
||||
DLOG_ERROR("Failed to register encoder '%s': %s", codec->name, ex.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1151,7 +1151,7 @@ void ffmpeg_manager::register_encoders()
|
|||
try {
|
||||
_factories.emplace(codec, std::make_shared<ffmpeg_factory>(codec));
|
||||
} catch (const std::exception& ex) {
|
||||
DLOG_ERROR("Failed to register encoder '%s': %s", codec->id, ex.what());
|
||||
DLOG_ERROR("Failed to register encoder '%s': %s", codec->name, ex.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue