diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-09 09:49:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-09 09:49:24 +0000 |
| commit | 94b48aad7958be46e8294ed736baa53c86ce6b26 (patch) | |
| tree | 13fdb16a9c17633f44104c292b85caba06f9e71a /wscript | |
| parent | 8a6d700346a6f5ca320883ea1e4d628b80f3b8fd (diff) | |
Try to allow builds with 0.10.4-era ffmpeg.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -151,6 +151,26 @@ def configure(conf): define_name = 'HAVE_G_FORMAT_SIZE', mandatory = False) + conf.check_cc(fragment = """ + extern "C" { + #include <libavutil/avutil.h> + } + int main() { AVPixelFormat f; } + """, msg = 'Checking for AVPixelFormat', + uselib = 'AVUTIL', + define_name = 'HAVE_AV_PIXEL_FORMAT', + mandatory = False) + + conf.check_cc(fragment = """ + extern "C" { + #include <libavcodec/avcodec.h> + } + int main() { AVFrame* f; av_frame_get_best_effort_timestamp(f); } + """, msg = 'Checking for av_frame_get_best_effort_timestamp', + uselib = 'AVCODEC', + define_name = 'HAVE_AV_FRAME_GET_BEST_EFFORT_TIMESTAMP', + mandatory = False) + conf.recurse('src') conf.recurse('test') |
