[FFmpeg-devel] x11 output device for libavdevice
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu May 30 12:40:59 CEST 2013
On Thursday 30 May 2013 12:12:12 pm Stefano Sabatini wrote:
> On date Thursday 2013-05-30 09:57:17 +0000, Carl Eugen Hoyos encoded:
> > Stefano Sabatini <stefasab <at> gmail.com> writes:
> > > > I'll push the patch in a few days if no one will review it.
> > >
> > > Pushed.
> >
> > On my system, gcc needs -lX11 -lXext to succeed linking.
>
> Fix it or send a patch, since I can't reproduce the issue here.
Patch attached, this is approximately what MPlayer does.
Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 63d7ebb..be20646 100755
--- a/configure
+++ b/configure
@@ -2085,7 +2085,7 @@ v4l2_outdev_deps_any="linux_videodev2_h sys_videoio_h"
vfwcap_indev_deps="capCreateCaptureWindow vfwcap_defines"
vfwcap_indev_extralibs="-lavicap32"
xv_outdev_deps="X11_extensions_Xvlib_h XvGetPortAttribute"
-xv_outdev_extralibs="-lXv"
+xv_outdev_extralibs="-lXv -lX11 -lXext"
x11grab_indev_deps="x11grab"
# protocols
@@ -3984,7 +3984,7 @@ check_func_headers windows.h SetConsoleTextAttribute
check_func_headers windows.h Sleep
check_func_headers windows.h VirtualAlloc
check_func_headers glob.h glob
-check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv
+check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext
check_header cl/cl.h
check_header direct.h
More information about the ffmpeg-devel
mailing list