From e7037ea0808a464e87cd3b3446d05ccc8dddab42 Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Mon, 1 Dec 2008 20:43:16 +0000 Subject: Fix image format. --- src/libvdpau/vdpau_h264.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index 0559c66d7..841a94eb1 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -232,13 +232,11 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen, /* create surface if needed */ if(this->vdpau_accel->surface == VDP_INVALID_HANDLE) { VdpStatus status = this->vdpau_accel->vdp_video_surface_create(this->vdpau_accel->vdp_device, - VDP_YCBCR_FORMAT_YV12, this->width, this->height, + VDP_CHROMA_TYPE_420, this->width, this->height, &this->vdpau_accel->surface); if(status != VDP_STATUS_OK) xprintf(this->xine, XINE_VERBOSITY_LOG, "vdpau_h264: Surface creation failed\n"); - else - printf("surface cerated"); } VdpStatus status = this->vdpau_accel->vdp_decoder_render(this->decoder, -- cgit v1.2.3