package/ffmpeg: enable Intel QuickSync support
authorLouis-Paul Cordier <lpdev@cordier.org>
Tue, 5 Feb 2019 18:19:46 +0000 (19:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 16 Apr 2019 20:13:36 +0000 (22:13 +0200)
Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/ffmpeg/ffmpeg.mk

index eb237d35237d849675f825de3b0fa18ac6d23add..9a5a178a489dfd5cfd935189fcefb25509ff20db 100644 (file)
@@ -309,6 +309,13 @@ else
 FFMPEG_CONF_OPTS += --disable-libbluray
 endif
 
+ifeq ($(BR2_PACKAGE_INTEL_MEDIASDK),y)
+FFMPEG_CONF_OPTS += --enable-libmfx
+FFMPEG_DEPENDENCIES += intel-mediasdk
+else
+FFMPEG_CONF_OPTS += --disable-libmfx
+endif
+
 ifeq ($(BR2_PACKAGE_RTMPDUMP),y)
 FFMPEG_CONF_OPTS += --enable-librtmp
 FFMPEG_DEPENDENCIES += rtmpdump