summaryrefslogtreecommitdiff
path: root/client/xvaccelrenderer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/xvaccelrenderer.cc')
-rw-r--r--client/xvaccelrenderer.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/client/xvaccelrenderer.cc b/client/xvaccelrenderer.cc
index 188574e..f030642 100644
--- a/client/xvaccelrenderer.cc
+++ b/client/xvaccelrenderer.cc
@@ -28,10 +28,6 @@
// Use this define for verbose output
#define VERBOSE_XV
-// Use this define for YV12 colorspace, default is YUY2
-//#define COLORSPACE_YV12
-
-
//static uint8_t GUI_XvSync(void);
@@ -118,7 +114,7 @@ uint8_t XvAccelRender::GUI_XvDisplay(uint8_t * src, uint32_t w, uint32_t h)
#else
XvPutImage(xv_display, xv_port, xv_win, xv_gc, xvimage,
0, 0, w, h, // src
- 0, 0, w / 3, h / 3 // dst
+ 0, 0, w, h // dst
);
#endif
@@ -226,11 +222,11 @@ uint8_t XvAccelRender::GUI_XvInit(QWidget * window, uint32_t w, uint32_t h)
}
#ifdef COLORSPACE_YV12
#ifdef VERBOSE_XV
- printf("\n Xv YV12 found at port :%d, format : %ld", port, xv_format);
+ printf("\n Xv YV12 found at port :%d, format : %d", port, xv_format);
#endif
#else
#ifdef VERBOSE_XV
- printf("\n Xv YUY2 found at port :%d, format : %ld", port, xv_format);
+ printf("\n Xv YUY2 found at port :%d, format : %d", port, xv_format);
#endif
#endif