summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-20 15:53:40 +0100
committerwm4 <wm4@nowhere>2015-01-20 15:53:40 +0100
commit5a93dd62456a8fbbbff38f7bd655ab6127faa8cb (patch)
tree14cbfab18c9b20e6697dda6190d4a26bc550ee81 /video/out/vo_opengl.c
parent061d9b1afeae6281c63f1cba15c557c50fa0563b (diff)
downloadmpv-5a93dd62456a8fbbbff38f7bd655ab6127faa8cb.tar.bz2
mpv-5a93dd62456a8fbbbff38f7bd655ab6127faa8cb.tar.xz
build: reduce worst case with mismatching FFmpeg pkg-config files
Handles mismatching libavfilter/libavdevice and libavcodec slightly better. libavfilter and libavdevice are optional, and thus are checked separately and at a later point of the build. But if a user system has at least 2 FFmpeg installations, and one of them lacks libavfilter or libavdevice, the build script will pick up the libavfilter/libavdevice package of the "other" FFmpeg installation. The moment waf picks these up, all include paths will start pointing at the "wrong" FFmpeg, and the FFmpeg API checks done earlier might be wrong too, leading to obscure and hard to explain compilation failures. Just moving the libavfilter/libavdevice checks before the FFmpeg API checks somewhat deals with this issue. Certainly not a proper solution, but since the change is harmless, and there is no proper solution, and the change doesn't actually add anything new, why not.
Diffstat (limited to 'video/out/vo_opengl.c')
0 files changed, 0 insertions, 0 deletions