mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
encoders/ffmpeg: Use correct parameter for log (#355)
This commit is contained in:
parent
daa4a385d7
commit
2c8687f4b7
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