obs-ffmpeg: Allow saving with different video codecs

Closes jp9000/obs-studio#794
This commit is contained in:
Michael Fabian Dirks 2017-02-25 07:37:47 -08:00 committed by jp9000
parent 8b640fae24
commit ed6507ffcf

View File

@ -145,7 +145,7 @@ static void add_video_encoder_params(struct ffmpeg_muxer *stream,
obs_data_release(settings); obs_data_release(settings);
dstr_catf(cmd, "%s %d %d %d %d %d ", dstr_catf(cmd, "%s %d %d %d %d %d ",
"h264", obs_encoder_get_codec(vencoder),
bitrate, bitrate,
obs_output_get_width(stream->output), obs_output_get_width(stream->output),
obs_output_get_height(stream->output), obs_output_get_height(stream->output),