summaryrefslogtreecommitdiff
path: root/sys/vdpau/gstvdp/gstvdpvideobuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau/gstvdp/gstvdpvideobuffer.h')
-rw-r--r--sys/vdpau/gstvdp/gstvdpvideobuffer.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/vdpau/gstvdp/gstvdpvideobuffer.h b/sys/vdpau/gstvdp/gstvdpvideobuffer.h
index 4d14d8c53..0699e73c9 100644
--- a/sys/vdpau/gstvdp/gstvdpvideobuffer.h
+++ b/sys/vdpau/gstvdp/gstvdpvideobuffer.h
@@ -26,6 +26,5 @@
+#include "gstvdpbuffer.h"
#include "gstvdpdevice.h"
-#include "gstvdpvideobuffer.h"
-
typedef struct _GstVdpVideoBuffer GstVdpVideoBuffer;
@@ -38,3 +37,3 @@ typedef struct _GstVdpVideoBuffer GstVdpVideoBuffer;
struct _GstVdpVideoBuffer {
- GstBuffer buffer;
+ GstVdpBuffer vdp_buffer;
@@ -94,4 +93,3 @@ 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);
+GstVdpVideoBuffer *gst_vdp_video_buffer_new (GstVdpDevice * device, VdpChromaType chroma_type, gint width, gint height, GError **error);