encoder: Rename all encoders to fix name collisions
This is a breaking change that will make all previous configuration no longer work.
This commit is contained in:
+1
-1
@@ -322,7 +322,7 @@ obsffmpeg::encoder_factory::encoder_factory(const AVCodec* codec) : avcodec_ptr(
|
||||
_handler = obsffmpeg::find_codec_handler(avcodec_ptr->name);
|
||||
|
||||
// Unique Id is FFmpeg name.
|
||||
info.uid = avcodec_ptr->name;
|
||||
info.uid = std::string("obs-ffmpeg-encoder_") + avcodec_ptr->name;
|
||||
|
||||
// Also generate a human readable name while we're at it.
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user