From d6a69587a9a1bb61e4b61280e3f1cad4a7fee110 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 1 Nov 2015 19:47:29 +0100 Subject: [PATCH] package/ffmpeg: Add support for x265 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/ffmpeg/ffmpeg.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index d4815cac68..d25346cd9e 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -341,6 +341,13 @@ else FFMPEG_CONF_OPTS += --disable-libx264 endif +ifeq ($(BR2_PACKAGE_X265)$(BR2_PACKAGE_FFMPEG_GPL),yy) +FFMPEG_CONF_OPTS += --enable-libx265 +FFMPEG_DEPENDENCIES += x265 +else +FFMPEG_CONF_OPTS += --disable-libx265 +endif + ifeq ($(BR2_X86_CPU_HAS_MMX),y) FFMPEG_CONF_OPTS += --enable-yasm FFMPEG_DEPENDENCIES += host-yasm -- 2.30.2