diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-07 20:46:49 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:25 +0100 |
commit | f8e0c0bcc11735e14636c7ea45fd23253e6cef99 (patch) | |
tree | 668ab333521cc81cb766c42c1bd42d3e2464fe3b /sys/vdpau/gstvdpaudevice.c | |
parent | 74485f6fa28ac3413ca5533f7bee695ab7670b47 (diff) | |
download | gst-plugins-bad-f8e0c0bcc11735e14636c7ea45fd23253e6cef99.tar.gz gst-plugins-bad-f8e0c0bcc11735e14636c7ea45fd23253e6cef99.tar.bz2 gst-plugins-bad-f8e0c0bcc11735e14636c7ea45fd23253e6cef99.zip |
vdpau: add new GstVdpauYUVVideo element
the GstVdpauYUVVideo element takes raw YUV video and outputs
GstVdpauVideoBuffers
Diffstat (limited to 'sys/vdpau/gstvdpaudevice.c')
-rw-r--r-- | sys/vdpau/gstvdpaudevice.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpaudevice.c b/sys/vdpau/gstvdpaudevice.c index 8e314d6d..73929444 100644 --- a/sys/vdpau/gstvdpaudevice.c +++ b/sys/vdpau/gstvdpaudevice.c @@ -83,6 +83,8 @@ gst_vdpau_device_constructed (GObject * object) &device->vdp_video_surface_query_ycbcr_capabilities}, {VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR, &device->vdp_video_surface_get_bits_ycbcr}, + {VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR, + &device->vdp_video_surface_put_bits_ycbcr}, {VDP_FUNC_ID_VIDEO_SURFACE_GET_PARAMETERS, &device->vdp_video_surface_get_parameters}, {VDP_FUNC_ID_DECODER_CREATE, &device->vdp_decoder_create}, @@ -257,6 +259,10 @@ gst_vdpau_get_device (const gchar * display_name) if (!device) { device = gst_vdpau_device_new (display_name); g_object_weak_ref (G_OBJECT (device), device_destroyed_cb, devices_hash); + if (display_name) + g_hash_table_insert (devices_hash, g_strdup (display_name), device); + else + g_hash_table_insert (devices_hash, g_strdup (""), device); } else g_object_ref (device); |