videoout_xv.cpp:53: warning: redundant redeclaration of ‘int XShmQueryExtension(Display*)’ in same scope
/usr/include/X11/extensions/XShm.h:76: warning: previous declaration of ‘int XShmQueryExtension(Display*)’
videoout_xv.cpp:54: warning: redundant redeclaration of ‘int XShmGetEventBase(Display*)’ in same scope
/usr/include/X11/extensions/XShm.h:80: warning: previous declaration of ‘int XShmGetEventBase(Display*)’
videoout_xv.cpp:56: warning: redundant redeclaration of ‘XvImage* XvShmCreateImage(Display*, XvPortID, int, char*, int, int, XShmSegmentInfo*)’ in same scope
/usr/include/X11/extensions/Xvlib.h:379: warning: previous declaration of ‘XvImage* XvShmCreateImage(Display*, XvPortID, int, char*, int, int, XShmSegmentInfo*)’
videoout_xv.cpp:72: error: ‘define’ does not name a type
videoout_xv.cpp: In member function ‘bool VideoOutputXv::InitSetupBuffers()’:
videoout_xv.cpp:1111: error: ‘SetFromEnv’ was not declared in this scope
videoout_xv.cpp: At global scope:
videoout_xv.cpp:3317: warning: ‘void SetFromEnv(bool&, bool&, bool&, bool&, bool&)’ defined but not used
make[2]: *** [videoout_xv.o] Error 1
make[2]: Leaving directory `/home/slyboots/mythsrc/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/slyboots/mythsrc/mythtv/libs'
make: *** [sub-libs] Error 2
------
Alteration made to /lib/libmythtv/videoout_xv.cpp
// define the following for the ATI Proprietary driver and the Intel
// IEGD driver for the i830M chipset (as of Oct 1st, 2006). Please
// report the problem to the driver developers as well, the more
// people report the bug in the driver the more likely it is to be
// fixed.
define USE_HACK_FOR_BROKEN_I420_SUPPORT_IN_DRIVER