mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
On linux encode frame dumps in MPG format instead of writing raw frames. To enable this portion of the code you must have libavcodec-dev and libswscale-dev installed (package names for Ubuntu).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6414 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -171,6 +171,14 @@ else()
|
||||
message("Xrandr NOT found")
|
||||
endif(XRANDR_FOUND)
|
||||
|
||||
pkg_search_module(AVCODEC "libavcodec libswscale")
|
||||
if(AVCODEC_FOUND)
|
||||
message("avcodec found, enabling MPG frame dumps")
|
||||
add_definitions(-DHAVE_AVCODEC)
|
||||
else()
|
||||
message("avcodec not found, disabling MPG frame dumps")
|
||||
endif()
|
||||
|
||||
include(CheckCXXSourceRuns)
|
||||
set(CMAKE_REQUIRED_LIBRARIES portaudio)
|
||||
CHECK_CXX_SOURCE_RUNS(
|
||||
|
Reference in New Issue
Block a user