summaryrefslogtreecommitdiff
path: root/sys/vdpau/gstvdpdevice.c
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-11-22 22:28:18 +0100
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-11-22 22:38:09 +0100
commit64601993c9288aa064c34b6d0c6342ab84867845 (patch)
treeb523e56f8b44330e9ae49b4011d48c67b9a540f5 /sys/vdpau/gstvdpdevice.c
parenta71cf4dfb2074044a7e8db8a3fced3bf70de8210 (diff)
downloadgstreamer-plugins-bad-64601993c9288aa064c34b6d0c6342ab84867845.tar.gz
vdpau: add GstPad subclass GstVdpOutputSrcPad
GstVdpOutputSrcPad is a subclass of GstPad that is used for pushing out GstVdpOutputBuffers. It takes care of caps negotiation and conversion to video/x-raw-rgb.
Diffstat (limited to 'sys/vdpau/gstvdpdevice.c')
-rw-r--r--sys/vdpau/gstvdpdevice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpdevice.c b/sys/vdpau/gstvdpdevice.c
index 1aef9a34b..7d074c6c2 100644
--- a/sys/vdpau/gstvdpdevice.c
+++ b/sys/vdpau/gstvdpdevice.c
@@ -112,6 +112,8 @@ gst_vdp_device_constructed (GObject * object)
{VDP_FUNC_ID_OUTPUT_SURFACE_DESTROY, &device->vdp_output_surface_destroy},
{VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_CAPABILITIES,
&device->vdp_output_surface_query_capabilities},
+ {VDP_FUNC_ID_OUTPUT_SURFACE_GET_BITS_NATIVE,
+ &device->vdp_output_surface_get_bits_native},
{VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11,
&device->vdp_presentation_queue_target_create_x11},
{VDP_FUNC_ID_PRESENTATION_QUEUE_CREATE,