package/ffmpeg: add optional support for libvdpau
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
bef0daec73
commit
c26132c95f
@ -36,7 +36,6 @@ FFMPEG_CONF_OPTS = \
|
||||
--enable-mdct \
|
||||
--enable-rdft \
|
||||
--disable-crystalhd \
|
||||
--disable-vdpau \
|
||||
--disable-dxva2 \
|
||||
--enable-runtime-cpudetect \
|
||||
--disable-hardcoded-tables \
|
||||
@ -247,6 +246,13 @@ else
|
||||
FFMPEG_CONF_OPTS += --disable-vaapi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVDPAU),y)
|
||||
FFMPEG_CONF_OPTS += --enable-vdpau
|
||||
FFMPEG_DEPENDENCIES += libvdpau
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --disable-vdpau
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPUS),y)
|
||||
FFMPEG_CONF_OPTS += --enable-libopus
|
||||
FFMPEG_DEPENDENCIES += opus
|
||||
|
Loading…
Reference in New Issue
Block a user