diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-02-28 01:39:31 +0100 |
---|---|---|
committer | Niklas Haas <git@nand.wakku.to> | 2015-02-28 01:39:31 +0100 |
commit | 653b0dd5295453d9661f673b4ebd02c5ceacf645 (patch) | |
tree | 469f28b70997ae072ed0426bd6246f24c9a42a1d /old-configure | |
parent | 729c8b3f641e633474be612e66388c131a1b5c92 (diff) | |
download | mpv-653b0dd5295453d9661f673b4ebd02c5ceacf645.tar.bz2 mpv-653b0dd5295453d9661f673b4ebd02c5ceacf645.tar.xz |
screenshots: check for AVFrame csp support
Apparently, libav stable is old enough to not have these fields.
Diffstat (limited to 'old-configure')
-rwxr-xr-x | old-configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/old-configure b/old-configure index 2558985b03..6bdfc4413b 100755 --- a/old-configure +++ b/old-configure @@ -814,6 +814,12 @@ api_statement_check \ 'av_frame_get_metadata(NULL)' api_statement_check \ + "libavutil AVFrame colorspace information" \ + HAVE_AVFRAME_CSP \ + libavutil/frame.h \ + 'AVFrame frame; frame.color_primaries = frame.color_trc = 0;' + +api_statement_check \ "libavutil AVFrame skip samples metadata" \ HAVE_AVFRAME_SKIP_SAMPLES \ libavutil/frame.h \ |