FFmpegWriter: match option 'rc_buffer_size' (#377)

This commit is contained in:
chad3814
2019-11-29 16:07:09 -08:00
committed by Frank Dana
parent 18811f40fe
commit 27bfbbc24a

View File

@@ -341,7 +341,7 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
// Was option found?
if (option || (name == "g" || name == "qmin" || name == "qmax" || name == "max_b_frames" || name == "mb_decision" ||
name == "level" || name == "profile" || name == "slices" || name == "rc_min_rate" || name == "rc_max_rate" ||
name == "crf" || name == "cqp")) {
name == "rc_buffer_size" || name == "crf" || name == "cqp")) {
// Check for specific named options
if (name == "g")
// Set gop_size