diff options
| author | Markus Volk <f_l_k@t-online.de> | 2025-09-16 09:44:18 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-09-16 09:59:14 -0700 |
| commit | 997e47c59063306bf3174c6099d59206f00fd512 (patch) | |
| tree | a5cc52361c515bc18c3556e948bd27f4b0d5507f | |
| parent | d58fd569c26b033c2ac13891956848de9499f478 (diff) | |
| download | meta-openembedded-997e47c59063306bf3174c6099d59206f00fd512.tar.gz | |
mpv: fix build with ffmpeg 8.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mpv/0001-mpv-fix-build-with-ffmpeg-8.0.patch | 41 | ||||
| -rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv/0001-mpv-fix-build-with-ffmpeg-8.0.patch b/meta-oe/recipes-multimedia/mplayer/mpv/0001-mpv-fix-build-with-ffmpeg-8.0.patch new file mode 100644 index 0000000000..ea705a4c73 --- /dev/null +++ b/meta-oe/recipes-multimedia/mplayer/mpv/0001-mpv-fix-build-with-ffmpeg-8.0.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From dd80e5841894f854e2d994601016151531521d9a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Tue, 16 Sep 2025 09:37:48 +0200 | ||
| 4 | Subject: [PATCH] mpv: fix build with ffmpeg 8.0 | ||
| 5 | |||
| 6 | quick fix, only compile tested | ||
| 7 | |||
| 8 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | --- | ||
| 12 | demux/demux_mkv.c | 6 +++--- | ||
| 13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c | ||
| 16 | index 135edcc23d..cc7ce3e98f 100644 | ||
| 17 | --- a/demux/demux_mkv.c | ||
| 18 | +++ b/demux/demux_mkv.c | ||
| 19 | @@ -2200,16 +2200,16 @@ static int demux_mkv_open_sub(demuxer_t *demuxer, mkv_track_t *track) | ||
| 20 | // [0x30..0x37] are component tags utilized for | ||
| 21 | // non-mobile captioning service ("profile A"). | ||
| 22 | if (component_tag >= 0x30 && component_tag <= 0x37) | ||
| 23 | - lav->profile = FF_PROFILE_ARIB_PROFILE_A; | ||
| 24 | + lav->profile = AV_PROFILE_ARIB_PROFILE_A; | ||
| 25 | break; | ||
| 26 | case 0x0012: | ||
| 27 | // component tag 0x87 signifies a mobile/partial reception | ||
| 28 | // (1seg) captioning service ("profile C"). | ||
| 29 | if (component_tag == 0x87) | ||
| 30 | - lav->profile = FF_PROFILE_ARIB_PROFILE_C; | ||
| 31 | + lav->profile = AV_PROFILE_ARIB_PROFILE_C; | ||
| 32 | break; | ||
| 33 | } | ||
| 34 | - if (lav->profile == FF_PROFILE_UNKNOWN) | ||
| 35 | + if (lav->profile == AV_PROFILE_UNKNOWN) | ||
| 36 | MP_WARN(demuxer, "ARIB caption profile %02x / %04x not supported.\n", | ||
| 37 | component_tag, data_component_id); | ||
| 38 | } | ||
| 39 | -- | ||
| 40 | 2.50.1 | ||
| 41 | |||
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb index 3223dd69d7..117395b371 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb | |||
| @@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=570a9b3749dd0463a1778803b12a6dce" | |||
| 18 | 18 | ||
| 19 | SRCREV = "e48ac7ce08462f5e33af6ef9deeac6fa87eef01e" | 19 | SRCREV = "e48ac7ce08462f5e33af6ef9deeac6fa87eef01e" |
| 20 | SRC_URI = "git://github.com/mpv-player/mpv;name=mpv;branch=release/${@oe.utils.trim_version('${PV}', 2)};protocol=https" | 20 | SRC_URI = "git://github.com/mpv-player/mpv;name=mpv;branch=release/${@oe.utils.trim_version('${PV}', 2)};protocol=https" |
| 21 | SRC_URI += "file://0001-mpv-fix-build-with-ffmpeg-8.0.patch" | ||
| 21 | 22 | ||
| 22 | inherit meson pkgconfig mime-xdg | 23 | inherit meson pkgconfig mime-xdg |
| 23 | 24 | ||
