media-video/mpv: backport build fix for ffmpeg-8

Closes: https://bugs.gentoo.org/961695
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-08-18 03:01:03 -04:00
parent 5e1dc47fa6
commit 2923b30757
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
https://bugs.gentoo.org/961695
https://github.com/mpv-player/mpv/commit/26b29fba02a
--- a/demux/demux_mkv.c
+++ b/demux/demux_mkv.c
@@ -2202,3 +2202,3 @@
if (component_tag >= 0x30 && component_tag <= 0x37)
- lav->profile = FF_PROFILE_ARIB_PROFILE_A;
+ lav->profile = AV_PROFILE_ARIB_PROFILE_A;
break;
@@ -2208,6 +2208,6 @@
if (component_tag == 0x87)
- lav->profile = FF_PROFILE_ARIB_PROFILE_C;
+ lav->profile = AV_PROFILE_ARIB_PROFILE_C;
break;
}
- if (lav->profile == FF_PROFILE_UNKNOWN)
+ if (lav->profile == AV_PROFILE_UNKNOWN)
MP_WARN(demuxer, "ARIB caption profile %02x / %04x not supported.\n",

View File

@@ -126,6 +126,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${P}-wayland-clipboard-cpu.patch
"${FILESDIR}"/${P}-ffmpeg8.patch
)
pkg_pretend() {