From 64c11efc1b0ba0e7c77cf08bbdad64a0c69cfd75 Mon Sep 17 00:00:00 2001 From: Johns Date: Thu, 16 May 2013 20:28:44 +0200 Subject: Fix bug: wrong grab size, introduced with AMD VDPAU. --- video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video.c') diff --git a/video.c b/video.c index 96e015a..d22cf2a 100644 --- a/video.c +++ b/video.c @@ -7333,7 +7333,7 @@ static uint8_t *VdpauGrabOutputSurfaceLocked(int *ret_size, int *ret_width, surface = VdpauGrabRenderSurface; source_rect = output_rect; - +#if 0 // FIXME: what if VdpauGrabRenderSurface has different sizes // get real surface size status = @@ -7349,6 +7349,7 @@ static uint8_t *VdpauGrabOutputSurfaceLocked(int *ret_size, int *ret_width, // FIXME: this warning can be removed, is now for debug only Warning(_("video/vdpau: video surface size mismatch\n")); } +#endif } } -- cgit v1.2.3