Commit 0f3f19c0 authored by Jan Beich's avatar Jan Beich
Browse files

multimedia/svt-av1: update to 2.0.0

parent dc792bab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
PORTNAME=	libavif
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.4
PORTREVISION=	1
CATEGORIES=	graphics

MAINTAINER=	jbeich@FreeBSD.org
+1 −1
Original line number Diff line number Diff line
PORTNAME=	libheif
DISTVERSION=	1.17.6
PORTREVISION=	1
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/

+24 −0
Original line number Diff line number Diff line
libheif/plugins/encoder_svt.cc:654:34: error: assigning to 'EbColorPrimaries' from incompatible type 'uint8_t' (aka 'unsigned char')
    svt_config.color_primaries = static_cast<uint8_t>(nclx->color_primaries);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libheif/plugins/encoder_svt.cc:655:43: error: assigning to 'EbTransferCharacteristics' from incompatible type 'uint8_t' (aka 'unsigned char')
    svt_config.transfer_characteristics = static_cast<uint8_t>(nclx->transfer_characteristics);
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libheif/plugins/encoder_svt.cc:656:38: error: assigning to 'EbMatrixCoefficients' from incompatible type 'uint8_t' (aka 'unsigned char')
    svt_config.matrix_coefficients = static_cast<uint8_t>(nclx->matrix_coefficients);
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libheif/plugins/encoder_svt.cc:657:30: error: assigning to 'EbColorRange' from incompatible type 'int'
    svt_config.color_range = nclx->full_range_flag ? 1 : 0;
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--- libheif/plugins/encoder_svt.cc.orig	2023-12-20 10:31:30 UTC
+++ libheif/plugins/encoder_svt.cc
@@ -645,7 +645,7 @@ struct heif_error svt_encode_image(void* encoder_raw, 
 
   if (nclx) {
     svt_config.color_description_present_flag = true;
-#if SVT_AV1_VERSION_MAJOR == 1
+#if SVT_AV1_VERSION_MAJOR >= 1
     svt_config.color_primaries = static_cast<EbColorPrimaries>(nclx->color_primaries);
     svt_config.transfer_characteristics = static_cast<EbTransferCharacteristics>(nclx->transfer_characteristics);
     svt_config.matrix_coefficients = static_cast<EbMatrixCoefficients>(nclx->matrix_coefficients);
+1 −1
Original line number Diff line number Diff line
PORTNAME=	ffmpeg
PORTVERSION=	6.1.1
PORTREVISION=	4
PORTREVISION=	5
PORTEPOCH=	1
CATEGORIES=	multimedia audio net
MASTER_SITES=	https://ffmpeg.org/releases/
+1 −1
Original line number Diff line number Diff line
PORTNAME=	ffmpeg
PORTVERSION=	4.4.4
PORTREVISION=	11
PORTREVISION=	12
CATEGORIES=	multimedia audio net
MASTER_SITES=	https://ffmpeg.org/releases/
PKGNAMESUFFIX=	4
Loading