summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdpvideobuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau/gstvdpvideobuffer.h')
-rw-r--r--sys/vdpau/gstvdpvideobuffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpvideobuffer.h b/sys/vdpau/gstvdpvideobuffer.h
index 92a077f8..abc8c99e 100644
--- a/sys/vdpau/gstvdpvideobuffer.h
+++ b/sys/vdpau/gstvdpvideobuffer.h
@@ -40,12 +40,16 @@ struct _GstVdpVideoBuffer {
GstVdpDevice *device;
VdpVideoSurface surface;
+
+ GSList *refs;
};
GType gst_vdp_video_buffer_get_type (void);
GstVdpVideoBuffer* gst_vdp_video_buffer_new (GstVdpDevice * device, VdpChromaType chroma_type, gint width, gint height);
+void gst_vdp_video_buffer_add_reference (GstVdpVideoBuffer *buffer, GstVdpVideoBuffer *buf);
+
#define GST_VDP_VIDEO_CAPS \
"video/x-vdpau-video, " \
"chroma-type = (int)[0,2], " \