]> git.pld-linux.org Git - packages/vlc.git/blob - vlc-build.patch
- rel 3; enable AV1
[packages/vlc.git] / vlc-build.patch
1 commit 622360c2c4335fff793f81f5e673326a581f5c0c
2 Author: Martin Storsjö <martin@martin.st>
3 Date:   Thu Apr 19 18:25:07 2018 +0300
4
5     aom: Remove unsupported pixel formats
6     
7     Support for these was apparently never in the codebase, and the enum
8     values were recently removed from the public headers [1].
9     
10     This fixes build with latest libaom build.
11     
12     [1] https://aomedia.googlesource.com/aom/+/3f29cc20e3a4c348cb41a797c68de856ddb84e12
13
14 diff --git a/modules/codec/aom.c b/modules/codec/aom.c
15 index 5bb442b5d5..60034158c4 100644
16 --- a/modules/codec/aom.c
17 +++ b/modules/codec/aom.c
18 @@ -116,17 +116,6 @@ static const struct
19  
20      { VLC_CODEC_YV12, AOM_IMG_FMT_YV12, 8, 0 },
21      { VLC_CODEC_YUVA, AOM_IMG_FMT_444A, 8, 0 },
22 -    { VLC_CODEC_YUYV, AOM_IMG_FMT_YUY2, 8, 0 },
23 -    { VLC_CODEC_UYVY, AOM_IMG_FMT_UYVY, 8, 0 },
24 -    { VLC_CODEC_YVYU, AOM_IMG_FMT_YVYU, 8, 0 },
25 -
26 -    { VLC_CODEC_RGB15, AOM_IMG_FMT_RGB555, 8, 0 },
27 -    { VLC_CODEC_RGB16, AOM_IMG_FMT_RGB565, 8, 0 },
28 -    { VLC_CODEC_RGB24, AOM_IMG_FMT_RGB24, 8, 0 },
29 -    { VLC_CODEC_RGB32, AOM_IMG_FMT_RGB32, 8, 0 },
30 -
31 -    { VLC_CODEC_ARGB, AOM_IMG_FMT_ARGB, 8, 0 },
32 -    { VLC_CODEC_BGRA, AOM_IMG_FMT_ARGB_LE, 8, 0 },
33  
34      { VLC_CODEC_GBR_PLANAR, AOM_IMG_FMT_I444, 8, 1 },
35      { VLC_CODEC_GBR_PLANAR_10L, AOM_IMG_FMT_I44416, 10, 1 },
This page took 0.059987 seconds and 3 git commands to generate.