Encode framedumps in AVI format on linux as on windows. This adds the additional dependency of libavformat-dev. Remember if you want raw framedumps as before add -DENCODE_FRAMEDUMPS=OFF to the cmake command line.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6438 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-11-18 16:46:17 +00:00
parent e1e43fa2a6
commit f8fbcecad6
4 changed files with 85 additions and 60 deletions

View File

@ -45,7 +45,7 @@ endif()
add_library(videocommon STATIC ${SRCS})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(ENCODE_FRAMEDUMPS)
target_link_libraries(videocommon avcodec swscale)
target_link_libraries(videocommon avcodec avformat swscale)
add_definitions(-D__STDC_CONSTANT_MACROS)
endif()
add_definitions(-fPIC)