Update src/FFmpegWriter.cpp

Co-authored-by: Jonathan Thomas <jonathan@openshot.org>
This commit is contained in:
eisneinechse
2020-06-15 14:05:43 -07:00
committed by GitHub
parent 2491d402df
commit bf0e700ae7

View File

@@ -1226,7 +1226,6 @@ AVStream *FFmpegWriter::add_video_stream() {
#if (LIBAVCODEC_VERSION_MAJOR >= 58)
case AV_CODEC_ID_AV1 :
// TODO: Set `crf` or `qp` according to bitrate, as bitrate is not supported by these encoders yet.
// set crf or qp according to bitrate as bitrate is not supported by
// these encoders (yet)
if (info.video_bit_rate >= 1000) {
c->bit_rate = 0;