From 158c594973bdc65883db4ca0b00b36a706e25e76 Mon Sep 17 00:00:00 2001 From: eisneinechse <42617957+eisneinechse@users.noreply.github.com> Date: Sun, 13 Sep 2020 08:42:17 -0700 Subject: [PATCH] Change of name of library --- src/FFmpegWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FFmpegWriter.cpp b/src/FFmpegWriter.cpp index 1fd19b43d..b2aec5f1e 100644 --- a/src/FFmpegWriter.cpp +++ b/src/FFmpegWriter.cpp @@ -539,7 +539,7 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va switch (c->codec_id) { case AV_CODEC_ID_AV1 : c->bit_rate = 0; - if (strstr(info.vcodec.c_str(), "svt_av1") != NULL) { + if (strstr(info.vcodec.c_str(), "svtav1") != NULL) { av_opt_set_int(c->priv_data, "qp", std::min(std::stoi(value),63), 0); } else if (strstr(info.vcodec.c_str(), "rav1e") != NULL) { @@ -1239,7 +1239,7 @@ AVStream *FFmpegWriter::add_video_stream() { info.video_bit_rate = calculated_quality; } // medium } - if (strstr(info.vcodec.c_str(), "svt_av1") != NULL) { + if (strstr(info.vcodec.c_str(), "svtav1") != NULL) { av_opt_set_int(c->priv_data, "preset", 6, 0); av_opt_set_int(c->priv_data, "forced-idr",1,0); }