summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-05-16 20:28:44 +0200
committerJohns <johns98@gmx.net>2013-05-16 20:28:44 +0200
commit64c11efc1b0ba0e7c77cf08bbdad64a0c69cfd75 (patch)
treec7cfed5649bca1b0ce79490fb17c4e41a9c5c839 /video.c
parentebb84822261f28fd3a882de651e3f0b351cd5134 (diff)
downloadvdr-plugin-softhddevice-64c11efc1b0ba0e7c77cf08bbdad64a0c69cfd75.tar.gz
vdr-plugin-softhddevice-64c11efc1b0ba0e7c77cf08bbdad64a0c69cfd75.tar.bz2
Fix bug: wrong grab size, introduced with AMD VDPAU.
Diffstat (limited to 'video.c')
-rw-r--r--video.c3
1 files changed, 2 insertions, 1 deletions
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
}
}