summaryrefslogtreecommitdiff
path: root/sys/vdpau/gstvdp/gstvdpvideobuffer.h
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 11:01:15 +0200
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 11:33:13 +0200
commitd82c4acd8a6f7580c3ff69a356920e51a8096423 (patch)
treef4f0389fa168ae6d6e4188410f9a05cf73a2c1d1 /sys/vdpau/gstvdp/gstvdpvideobuffer.h
parent7320eedc04602afc46994256093cf49a8e444d17 (diff)
vdpau: add GstVdpVideoBufferPool
GstVdpVideoBufferPool is a subclass of GstVdpBuffer that caches GstVdpVideoBuffers
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);