mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
vaapisink: fix build with older toolchains.
Don't re-declare GstVaapiTexture if USE_GLX mode is set.
This commit is contained in:
parent
9b11f069c9
commit
ab8b0359e1
1 changed files with 2 additions and 0 deletions
|
@ -59,7 +59,9 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GstVaapiSink GstVaapiSink;
|
typedef struct _GstVaapiSink GstVaapiSink;
|
||||||
typedef struct _GstVaapiSinkClass GstVaapiSinkClass;
|
typedef struct _GstVaapiSinkClass GstVaapiSinkClass;
|
||||||
|
#if !USE_GLX
|
||||||
typedef struct _GstVaapiTexture GstVaapiTexture;
|
typedef struct _GstVaapiTexture GstVaapiTexture;
|
||||||
|
#endif
|
||||||
|
|
||||||
struct _GstVaapiSink {
|
struct _GstVaapiSink {
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
|
|
Loading…
Reference in a new issue