encoders/generic: Fix key value separators and apply settings correctly

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-20 23:38:45 +02:00
parent a298680e07
commit 83c9de95f9
+2 -2
View File
@@ -528,8 +528,8 @@ bool encoder::generic::update(obs_data_t* settings)
{ // FFmpeg
// Apply custom options.
av_opt_set_from_string(this->context, obs_data_get_string(settings, P_FFMPEG_CUSTOMSETTINGS), nullptr,
";", "=");
av_opt_set_from_string(this->context->priv_data, obs_data_get_string(settings, P_FFMPEG_CUSTOMSETTINGS),
nullptr, "=", ";");
}
return false;
}