vaapisink: fix build with older toolchains.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 24 Aug 2012 11:54:16 +0000 (14:54 +0300)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 29 Aug 2012 10:04:55 +0000 (12:04 +0200)
Don't re-declare GstVaapiTexture if USE_GLX mode is set.

gst/vaapi/gstvaapisink.h

index c5883b3..5493046 100644 (file)
@@ -59,7 +59,9 @@ G_BEGIN_DECLS
 
 typedef struct _GstVaapiSink                    GstVaapiSink;
 typedef struct _GstVaapiSinkClass               GstVaapiSinkClass;
+#if !USE_GLX
 typedef struct _GstVaapiTexture                 GstVaapiTexture;
+#endif
 
 struct _GstVaapiSink {
     /*< private >*/