提交 06eab4ba 编写于 作者: R Ramiro Polla

Let the dependency checker decide about x11_grab_device_demuxer

Originally committed as revision 10542 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 32bbb99d
......@@ -794,7 +794,7 @@ rtsp_demuxer_deps="rtp_protocol rtp_muxer"
sdp_demuxer_deps="rtsp_demuxer"
v4l2_demuxer_deps="linux_videodev2_h"
v4l_demuxer_deps="linux_videodev_h"
x11_grab_device_demuxer_deps="x11grab"
x11_grab_device_demuxer_deps="x11grab XShmCreateImage"
x11_grab_device_demuxer_extralibs="-lX11 -lXext"
# protocols
......@@ -1701,12 +1701,10 @@ check_header soundcard.h
# Deal with the x11 frame grabber
enabled x11grab &&
enabled x11_grab_device_demuxer &&
check_header X11/Xlib.h &&
check_header X11/extensions/XShm.h &&
check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext ||
disable x11_grab_device_demuxer
check_func XShmCreateImage -lX11 -lXext
enabled debug && add_cflags -g
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册