Find avconv as alternative to ffmpeg

This commit is contained in:
SteveGilvarry 2015-05-24 23:39:44 +10:00
parent 03de98980f
commit 22ec67dd3f
1 changed files with 3 additions and 1 deletions

View File

@ -452,7 +452,9 @@ if(NOT ZM_NO_FFMPEG)
endif(SWSCALE_LIBRARIES)
# Find the path to the ffmpeg executable
find_program(FFMPEG_EXECUTABLE ffmpeg PATH_SUFFIXES ffmpeg)
find_program(FFMPEG_EXECUTABLE
NAMES ffmpeg avconv
PATH_SUFFIXES ffmpeg)
if(FFMPEG_EXECUTABLE)
set(PATH_FFMPEG "${FFMPEG_EXECUTABLE}")
set(OPT_FFMPEG "yes")