Skip to content

Commit

Permalink
add support for avcodec2 (ffmpeg 2.x) using simple BAT file switch
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@5111 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 4, 2014
1 parent e6d6a3d commit 6c4d4b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/win32/MAKE-INSTALLER.BAT
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ SET SHOW_DEPENDENCIES=0
REM "SET THESE TO 0 TO DISABLE VPX/RENCODE/CLIPBOARD/etc:"
SET ENC_X264=1
SET DEC_AVCODEC=1
SET DEC_AVCODEC2=0
SET CSC_NVCUDA=0
SET NVENC=0
SET VPX=1
Expand Down Expand Up @@ -73,6 +74,7 @@ SET BUILD_ARGS=

IF %ENC_X264% NEQ 1 SET BUILD_ARGS=%BUILD_ARGS% --without-enc_x264
IF %DEC_AVCODEC% NEQ 1 SET BUILD_ARGS=%BUILD_ARGS% --without-dec_avcodec
IF %DEC_AVCODEC2%==1 SET BUILD_ARGS=%BUILD_ARGS% --with-dec_avcodec2
IF %CSC_NVCUDA% NEQ 1 SET BUILD_ARGS=%BUILD_ARGS% --without-csc_nvcuda
IF %NVENC% NEQ 1 SET BUILD_ARGS=%BUILD_ARGS% --without-nvenc
IF %VPX% NEQ 1 SET BUILD_ARGS=%BUILD_ARGS% --without-vpx
Expand Down

0 comments on commit 6c4d4b3

Please sign in to comment.