Commit 7c3f4d00 for libheif
commit 7c3f4d00344037d2c8cc4d197f21b693c7dfc3d5
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Sun Dec 14 16:21:43 2025 +0100
[BSD3] fix SVT encoding with gop-structure=I
diff --git a/libheif/plugins/encoder_svt.cc b/libheif/plugins/encoder_svt.cc
index f8632d6c..0f4d24cc 100644
--- a/libheif/plugins/encoder_svt.cc
+++ b/libheif/plugins/encoder_svt.cc
@@ -840,7 +840,7 @@ static heif_error svt_start_sequence_encoding_intern(void* encoder_raw, const he
switch (options->gop_structure) {
case heif_sequence_gop_structure_intra_only:
- svt_config.pred_structure = SvtAv1PredStructure::SVT_AV1_PRED_LOW_DELAY_B;
+ //svt_config.pred_structure = SvtAv1PredStructure::SVT_AV1_PRED_LOW_DELAY_B;
break;
case heif_sequence_gop_structure_lowdelay:
//svt_config.pred_structure = SvtAv1PredStructure::SVT_AV1_PRED_LOW_DELAY_B;