package/libvpx: vp9 encoder needs c++

Encoding rate control interface for v9 is implemented in c++:
745979bc29 (diff-58f26933c120328b31831a743eec5ba3R534)

Disable vp9 encoding when toolchain lacks c++.

Fixes:
http://autobuild.buildroot.net/results/983/9836215fe22f260483f9153fb5447892801a14a9/
http://autobuild.buildroot.net/results/88a/88aa80ee006ba2dcc40c15be3af73c756cb62974/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2020-09-23 20:08:30 +02:00 committed by Thomas Petazzoni
parent 19d1ca28d2
commit 182bd22ece

View File

@ -20,6 +20,13 @@ LIBVPX_CONF_OPTS = \
--disable-docs \
--disable-unit-tests
# vp9/ratectrl_rtc.cc
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
LIBVPX_CONF_OPTS += --enable-vp9-encoder
else
LIBVPX_CONF_OPTS += --disable-vp9-encoder
endif
# This is not a true autotools package. It is based on the ffmpeg build system
define LIBVPX_CONFIGURE_CMDS
(cd $(LIBVPX_SRCDIR) && rm -rf config.cache && \