vaapisink: fix build with older toolchains.

Don't re-declare GstVaapiTexture if USE_GLX mode is set.
This commit is contained in:
Gwenole Beauchesne 2012-08-24 14:54:16 +03:00
parent 9b11f069c9
commit ab8b0359e1

View 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 >*/