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 /meta-oe/recipes-multimedia/mplayer/mpv | |
| 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>
Diffstat (limited to 'meta-oe/recipes-multimedia/mplayer/mpv')
| -rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mpv/0001-mpv-fix-build-with-ffmpeg-8.0.patch | 41 |
1 files changed, 41 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 | |||
