how to apply meson to latest vlc?
on arch linux i did:
$ git clone -b meson --depth 1 https://code.videolan.org/GSoC2018/ePirat/vlc.git
$ cd vlc
$ meson --version
0.50.1
$ ninja --version
1.9.0
$ meson build
$ ninja -C build
the speed is fantastic, but it fails here:
[395/772] Compiling C object 'modules/fbc6c1d@@fdkaac_plugin@sha/codec_fdkaac.c.o'.
FAILED: modules/fbc6c1d@@fdkaac_plugin@sha/codec_fdkaac.c.o
cc -Imodules/fbc6c1d@@fdkaac_plugin@sha -Imodules -I../modules -I. -I../ -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -g -DHAVE_CONFIG_H=1 -fvisibility=hidden -fPIC '-DMODULE_STRING="fdkaac"' -D__PLUGIN__ -MD -MQ 'modules/fbc6c1d@@fdkaac_plugin@sha/codec_fdkaac.c.o' -MF 'modules/fbc6c1d@@fdkaac_plugin@sha/codec_fdkaac.c.o.d' -o 'modules/fbc6c1d@@fdkaac_plugin@sha/codec_fdkaac.c.o' -c ../modules/codec/fdkaac.c
../modules/codec/fdkaac.c: In function ‘OpenEncoder’:
../modules/codec/fdkaac.c:291:34: error: ‘AACENC_InfoStruct’ {aka ‘struct <anonymous>’} has no member named ‘encoderDelay’; did you mean ‘nDelay’?
p_sys->i_encoderdelay = info.encoderDelay;
^~~~~~~~~~~~
nDelay
the newest commit hash which compiles, and also works, is g1c5383dedc, see:
- https://trac.videolan.org/vlc/ticket/22215
- https://aur.archlinux.org/packages/vlc-git/
- https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vlc-git
i saw your description here: https://epir.at/2018/08/13/gsoc-2018/ and wonder if there is an updated version how to apply the meson build to the latest vlc code?