Only include Xv headers if server supports it
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
02918fd534
commit
668223a665
@ -5,8 +5,10 @@
|
|||||||
|
|
||||||
#include "xf86Cursor.h"
|
#include "xf86Cursor.h"
|
||||||
|
|
||||||
|
#ifdef XvExtension
|
||||||
#include "xf86xv.h"
|
#include "xf86xv.h"
|
||||||
#include <X11/extensions/Xv.h>
|
#include <X11/extensions/Xv.h>
|
||||||
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/* Supported chipsets */
|
/* Supported chipsets */
|
||||||
@ -57,7 +59,9 @@ typedef struct dummyRec
|
|||||||
|
|
||||||
Bool screenSaver;
|
Bool screenSaver;
|
||||||
Bool video;
|
Bool video;
|
||||||
|
#ifdef XvExtension
|
||||||
XF86VideoAdaptorPtr overlayAdaptor;
|
XF86VideoAdaptorPtr overlayAdaptor;
|
||||||
|
#endif
|
||||||
int overlay;
|
int overlay;
|
||||||
int overlay_offset;
|
int overlay_offset;
|
||||||
int videoKey;
|
int videoKey;
|
||||||
|
@ -32,8 +32,10 @@
|
|||||||
|
|
||||||
#include "picturestr.h"
|
#include "picturestr.h"
|
||||||
|
|
||||||
|
#ifdef XvExtension
|
||||||
#include "xf86xv.h"
|
#include "xf86xv.h"
|
||||||
#include <X11/extensions/Xv.h>
|
#include <X11/extensions/Xv.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Driver data structures.
|
* Driver data structures.
|
||||||
|
Loading…
Reference in New Issue
Block a user