obs-ffmpeg: Fix (put back in) "profile" NVENC setting

The profile setting may have been unintentionally removed in 0157d02564.

Closes jp9000/obs-studio#616
This commit is contained in:
derrod 2016-09-13 14:59:42 +02:00 committed by jp9000
parent b2a85a2820
commit 3b3933b42f

View File

@ -159,7 +159,7 @@ static bool nvenc_update(void *data, obs_data_t *settings)
nvenc_video_info(enc, &info);
av_opt_set_int(enc->context->priv_data, "cbr", false, 0);
av_opt_set(enc->context->priv_data, "profile", profile, 0);
av_opt_set(enc->context->priv_data, "preset", preset, 0);
if (astrcmpi(rc, "cqp") == 0) {