Skip to content

Commit

Permalink
Add DXVA2 support to the configure script.
Browse files Browse the repository at this point in the history
This won't actually do anything at the moment.
  • Loading branch information
mark-kendall committed Feb 25, 2011
1 parent 8de92f1 commit cc25f23
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mythtv/configure
Expand Up @@ -121,6 +121,7 @@ Advanced options (experts only):
--disable-xv disable XVideo (X11 video output accel.)
--enable-vdpau enable NVidia VDPAU hardware acceleration.
--enable-crystalhd enable Broadcom CrystalHD hardware decoder support
--enable-dxva2 enable hardware accelerated decoding on windows
--disable-opengl-video disable OpenGL based video display
--disable-quartz-video disable Mac OS X CoreVideo based video display
--disable-directfb disable DirectFB (Linux non-X11 video)
Expand Down Expand Up @@ -1371,6 +1372,7 @@ USING_LIST='
bindings_php
darwin_da
mythtranscode
dxva2
opengl
opengles
vdpau
Expand Down Expand Up @@ -3861,6 +3863,12 @@ if enabled crystalhd; then
disable crystalhd;
fi

if enabled dxva2; then
enabled dxva2api_h && enabled windows || disable dxva2
else
disable dxva2
fi

enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
enabled debug && add_cxxflags -g"$debuglevel"

Expand Down Expand Up @@ -4418,6 +4426,7 @@ fi
echo "DirectFB ${directfb-no}"
if test x"$target_os" = x"mingw32" ; then
echo "Windows (Direct3D) yes"
echo "DXVA2 support ${dxva2-no}"
fi
echo "MHEG support ${mheg}"
echo
Expand Down

0 comments on commit cc25f23

Please sign in to comment.