va: decode: fix display type

Instead of a pointer to GstVaDisplay it was used a VADisplay type, which in
certain platforms is the same, and the compiler didn't complain.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1860>
This commit is contained in:
Víctor Manuel Jáquez Leal 2020-12-06 18:03:47 +01:00
parent 102c60f82c
commit 34683c36de

View file

@ -27,7 +27,7 @@ G_BEGIN_DECLS
typedef struct _GstVaDecodePicture GstVaDecodePicture; typedef struct _GstVaDecodePicture GstVaDecodePicture;
struct _GstVaDecodePicture struct _GstVaDecodePicture
{ {
VADisplay display; GstVaDisplay *display;
GArray *buffers; GArray *buffers;
GArray *slices; GArray *slices;
GstBuffer *gstbuffer; GstBuffer *gstbuffer;