From 65bc7c87b2a2a2d1776b1592be4b7eb7c8367df3 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Sun, 22 Nov 2009 22:18:55 +0100 Subject: [PATCH] gstvdpvideobuffer: fix typo --- sys/vdpau/gstvdpvideobuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vdpau/gstvdpvideobuffer.c b/sys/vdpau/gstvdpvideobuffer.c index 6a6ea70754..9a8666e924 100644 --- a/sys/vdpau/gstvdpvideobuffer.c +++ b/sys/vdpau/gstvdpvideobuffer.c @@ -431,7 +431,7 @@ gst_vdp_video_buffer_download (GstVdpVideoBuffer * video_buf, GST_LOG_OBJECT (video_buf, "Entering vdp_video_surface_get_bits_ycbcr"); status = device->vdp_video_surface_get_bits_ycbcr (surface, - VDP_YCBCR_FORMAT_YV12, (void *) data, stride); + format, (void *) data, stride); GST_LOG_OBJECT (video_buf, "Got status %d from vdp_video_surface_get_bits_ycbcr", status); if (G_UNLIKELY (status != VDP_STATUS_OK)) {