diff options
author | wm4 <wm4@nowhere> | 2013-07-25 23:02:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-25 23:03:20 +0200 |
commit | 9cc5630fd54d9abadd52fdedb1bac30d1b09d99a (patch) | |
tree | 3b23a26819021d51e813755a8d6c5f7cef689230 /configure | |
parent | 24e50ee74e69ff4c4f66510360a611f612c0f140 (diff) | |
download | mpv-9cc5630fd54d9abadd52fdedb1bac30d1b09d99a.tar.bz2 mpv-9cc5630fd54d9abadd52fdedb1bac30d1b09d99a.tar.xz |
video: support setting libswscale chroma position
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -2647,6 +2647,17 @@ fi echores "$_avcodec_has_text_flag_api" +echocheck "libavcodec avcodec_enum_to_chroma_pos API" +_avcodec_has_chroma_pos_api=no +statement_check libavcodec/avcodec.h 'int x, y; avcodec_enum_to_chroma_pos(&x, &y, AVCHROMA_LOC_UNSPECIFIED)' && _avcodec_has_chroma_pos_api=yes +if test "$_avcodec_has_chroma_pos_api" = yes ; then + def_avcodec_has_chroma_pos_api='#define HAVE_AVCODEC_CHROMA_POS_API 1' +else + def_avcodec_has_chroma_pos_api='#define HAVE_AVCODEC_CHROMA_POS_API 0' +fi +echores "$_avcodec_has_chroma_pos_api" + + echocheck "libavutil QP API" _avutil_has_qp_api=no statement_check libavutil/frame.h 'av_frame_get_qp_table(NULL, NULL, NULL)' && _avutil_has_qp_api=yes @@ -3169,6 +3180,7 @@ $def_zlib $def_avutil_has_refcounting $def_avutil_has_qp_api $def_avcodec_has_text_flag_api +$def_avcodec_has_chroma_pos_api $def_libpostproc $def_libavdevice $def_libavfilter |