Hello.

It seems that after updating svt-av1 from 4.0.1 to 4.1.0, patches will be 
required for the following file.
${WRKSRC}/libheif/plugins/encoder_svt.cc

The following error occurs.
/wrkdirs/usr/ports/graphics/libheif/work/libheif-1.21.2/libheif/plugins/encoder_svt.cc:850:37:
 error: assigning to 'PredStructure' from incompatible type 'int'
  850 |         svt_config.pred_structure = 2; // RANDOM_ACCESS
      |                                     ^
1 error generated.

It seems that here, we should use PredStructure::RANDOM_ACCESS instead of 2.
The value for that is in the file at the following path.
/usr/local/include/svt-av1/EbSvtAv1Enc.h

Regards.


Reply via email to