Commit b81652c6 authored by Jan Gerber's avatar Jan Gerber
Browse files

AVColorPrimaries was introduced in avcodec.h by commit

 3cca3c3b22c13ba5794523b982a94dcb43277f59 in ffmpeg:
add version to libavcodec check.
libavcodec >= 52.30.0 will have AVColorPrimaries

parent 8c987a4f
......@@ -136,7 +136,7 @@ if not conf.CheckPKG(XIPH_LIBS):
Exit(1)
ParsePKGConfig(env, XIPH_LIBS)
FFMPEG_LIBS="libavcodec libavformat libavdevice libpostproc libswscale"
FFMPEG_LIBS="libavcodec >= 52.30.0 libavformat libavdevice libpostproc libswscale"
if os.path.exists("./ffmpeg"):
os.environ['PKG_CONFIG_PATH'] = "./ffmpeg/libavutil:./ffmpeg/libavformat:./ffmpeg/libavcodec:./ffmpeg/libavdevice:./ffmpeg/libswscale:./ffmpeg/libpostproc:" + os.environ.get('PKG_CONFIG_PATH', '')
if not conf.CheckPKG(FFMPEG_LIBS):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment