Skip to content

Commit 3f3bcc1

Browse files
authored
Merge pull request #567 from eisneinechse/svtav1_rename
Change of name of library
2 parents 9c35e55 + 158c594 commit 3f3bcc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FFmpegWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
539539
switch (c->codec_id) {
540540
case AV_CODEC_ID_AV1 :
541541
c->bit_rate = 0;
542-
if (strstr(info.vcodec.c_str(), "svt_av1") != NULL) {
542+
if (strstr(info.vcodec.c_str(), "svtav1") != NULL) {
543543
av_opt_set_int(c->priv_data, "qp", std::min(std::stoi(value),63), 0);
544544
}
545545
else if (strstr(info.vcodec.c_str(), "rav1e") != NULL) {
@@ -1239,7 +1239,7 @@ AVStream *FFmpegWriter::add_video_stream() {
12391239
info.video_bit_rate = calculated_quality;
12401240
} // medium
12411241
}
1242-
if (strstr(info.vcodec.c_str(), "svt_av1") != NULL) {
1242+
if (strstr(info.vcodec.c_str(), "svtav1") != NULL) {
12431243
av_opt_set_int(c->priv_data, "preset", 6, 0);
12441244
av_opt_set_int(c->priv_data, "forced-idr",1,0);
12451245
}

0 commit comments

Comments
 (0)