mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
`av_register_all()` is the only thing used from libavformat, but that doesn't seem to be needed for codec enumeration, so remove it, and call `avcodec_register_all()` instead when libavcodec < 58.10.100.
10 lines
391 B
Meson
10 lines
391 B
Meson
ffmpeg_sources = ['ffmpeg.c',
|
|
'ffmpeg-dec.c',
|
|
'ffmpeg-enc.c']
|
|
|
|
ffmpeglib = shared_library('spa-ffmpeg',
|
|
ffmpeg_sources,
|
|
include_directories : [spa_inc],
|
|
dependencies : [avcodec_dep],
|
|
install : true,
|
|
install_dir : spa_plugindir / 'ffmpeg')
|