diff options
author | Julian Scheel <julian@jusst.de> | 2008-12-01 20:43:16 +0000 |
---|---|---|
committer | Julian Scheel <julian@jusst.de> | 2008-12-01 20:43:16 +0000 |
commit | e7037ea0808a464e87cd3b3446d05ccc8dddab42 (patch) | |
tree | 7a9395eb7ee934df5dd32b34db8c1b8a0d04ff11 /src | |
parent | c81918d927a1bfec86c45fcf293d35f0ef8a3431 (diff) | |
download | xine-lib-e7037ea0808a464e87cd3b3446d05ccc8dddab42.tar.gz xine-lib-e7037ea0808a464e87cd3b3446d05ccc8dddab42.tar.bz2 |
Fix image format.
Diffstat (limited to 'src')
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 4 |
1 files changed, 1 insertions, 3 deletions
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, |