diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-08-24 14:54:16 +0300 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-08-29 12:04:55 +0200 |
commit | ab8b0359e16107d59d3f216688e4e86a4aeb6eea (patch) | |
tree | d11d88bf0cd6199b6ccb52df9214539631baec01 | |
parent | 9b11f069c95e105d42b3ae1150845b02ee851df6 (diff) |
vaapisink: fix build with older toolchains.
Don't re-declare GstVaapiTexture if USE_GLX mode is set.
-rw-r--r-- | gst/vaapi/gstvaapisink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/vaapi/gstvaapisink.h b/gst/vaapi/gstvaapisink.h index c5883b3..5493046 100644 --- a/gst/vaapi/gstvaapisink.h +++ b/gst/vaapi/gstvaapisink.h @@ -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 >*/ |