GNOME Bugzilla – Bug 533264
Make v4l2 compile without X
Last modified: 2008-05-17 10:38:05 UTC
Right now, the v4l2 plugin includes unconditionally XV headers even if you specify --disable-xvideo on the configure line. This can be a problem for hosts that don't have X (think embedded here) and that do want to use v4l2src. The patch joined here should fix that.
Created attachment 110950 [details] [review] Include xoverlay headers if USE_XVIDEO is defined
This patch needs some work... the xoverlay functions are used in the source files and this usage should be made conditional too then. Otherwise stuff stil won't build.
Nevermind, the xoverlay stuff isn't even implemented yet properly and latest CVS has it disabled everywhere... it only includes the header at a single place while it shouldn't. Fixed now ;) 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org> * sys/v4l2/gstv4l2src.c: Don't include the gstv4l2xoverlay.h header as the XOverlay support isn't implemented at all yet and this requires X headers to be installed. Fixes bug #533264.