diff options
author | John Stebbins <[email protected]> | 2019-02-22 15:07:04 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-03-07 13:59:35 -0800 |
commit | 001b68550f8db0927cb887dea0e4cd4bebbdfb4d (patch) | |
tree | daa6c81347b496dffab01a9fcf3eb7f58d761e93 /contrib/ffmpeg | |
parent | 1ca62a0b52244e988f5505dd3cb9cf509cc3552a (diff) |
LinGui: make QSV encoding actually work
Assuming you built HandBrake with 'configure --enable-qsv' and you have
built and installed Intel MediaSDK in a directory that is in your LD search
path, the QSV encoders now work. HW decode is not supported.
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r-- | contrib/ffmpeg/module.defs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index 1225fd916..6ad601fdf 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -35,7 +35,6 @@ FFMPEG.CONFIGURE.extra = \ --disable-muxers \ --disable-network \ --disable-hwaccels \ - --disable-vaapi \ --disable-vdpau \ --disable-encoders \ --enable-libmp3lame \ @@ -59,6 +58,12 @@ FFMPEG.CONFIGURE.extra = \ --cc="$(FFMPEG.GCC.gcc)" \ --extra-ldflags="$(call fn.ARGS,FFMPEG.GCC,*archs *sysroot *minver ?extra) -L$(call fn.ABSOLUTE,$(CONTRIB.build/)lib)" +ifeq (1-linux,$(FEATURE.qsv)-$(BUILD.system)) +FFMPEG.CONFIGURE.extra += --enable-vaapi +else +FFMPEG.CONFIGURE.extra += --disable-vaapi +endif + ifeq (1,$(FEATURE.fdk_aac)) FFMPEG.CONFIGURE.extra += \ --enable-nonfree \ |