vlc 3.0.17.4 with --enable-dav1d
I'd like to report an issue with --disable-dav1d and --enable-dav1d with vlc (Cross-platform media player and streaming server) 3.0.17.4 which is similar to Debian Bug#1008609: vlc: FTBFS with dav1d 1.0.0
In my case I build / compile on OpenIndiana Illumos UNIX and this operating system has version 1.0.0 of libdav1d:
$ pkg list codec/dav1d
NAME (PUBLISHER) VERSION IFO
codec/dav1d (hipster-encumbered) 1.0.0-2022.0.0.0 i--
this is the 1.0.0 release of dav1d:
$ pkg info codec/dav1d
Name: codec/dav1d
Summary: A fast, cross-platform AV1 decoder
Category: System/Multimedia Libraries
State: Installed
Publisher: hipster-encumbered
Version: 1.0.0
Branch: 2022.0.0.0
Packaging Date: March 23, 2022 at 08:38:38 PM
Last Install Time: April 16, 2022 at 05:55:11 PM
Size: 2.84 MB
FMRI: pkg://hipster-encumbered/codec/dav1d@1.0.0-2022.0.0.0:20220323T203838Z
Project URL: https://code.videolan.org/videolan/dav1d
Source URL: https://code.videolan.org/videolan/dav1d/-/archive/1.0.0/dav1d-1.0.0.tar.gz
I'm getting compile errors related to n_frame_threads and n_tile_threads like:
/export/home/stes/oi-userland/components/encumbered/vlc/vlc-3.0.17.4/modules/codec/dav1d.c:297:14: error: 'Dav1dSettings {aka struct Dav1dSettings}' has no member named 'n_tile_threads'; did you mean 'n_threads'?
p_sys->s.n_tile_threads = var_InheritInteger(p_this, "dav1d-thread-tiles");
I believe this may be related to merge request 1618, I'm under the impression that there is an issue or problem with building VLC modules/codec/dav1d.c with version 1.0.0 of that codec installed.