Update src/FFmpegWriter.cpp

We might want to leave some kind of comment though. The encoders will (probably) get these options (soon).

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

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.
// these encoders (yet)
if (info.video_bit_rate >= 1000) {
c->bit_rate = 0;
if (strstr(info.vcodec.c_str(), "aom") != NULL) {