Skip to content

Commit

Permalink
win32 ugly versioned paths for ffmpeg
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@5187 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 14, 2014
1 parent be6f6d9 commit bd40717
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,14 @@ def glob_recurse(srcdir):
cuda_bin_dir = os.path.join(cuda_path, "bin")

#ffmpeg is needed for both swscale and x264:
libffmpeg_path = "C:\\ffmpeg-win32-bin"
if dec_avcodec_ENABLED:
assert not dec_avcodec2_ENABLED, "cannot enable both dec_avcodec and dec_avcodec2"
libffmpeg_path = "C:\\ffmpeg-win32-bin"
elif dec_avcodec2_ENABLED:
assert not dec_avcodec_ENABLED, "cannot enable both dec_avcodec and dec_avcodec2"
libffmpeg_path = "C:\\ffmpeg2-win32-bin"
else:
libffmpeg_path = "UNUSED"
libffmpeg_include_dir = os.path.join(libffmpeg_path, "include")
libffmpeg_lib_dir = os.path.join(libffmpeg_path, "lib")
libffmpeg_bin_dir = os.path.join(libffmpeg_path, "bin")
Expand Down

0 comments on commit bd40717

Please sign in to comment.