summaryrefslogtreecommitdiff
path: root/client/xvaccelrenderer.cc
diff options
context:
space:
mode:
authordeva <deva>2006-04-08 15:20:51 +0000
committerdeva <deva>2006-04-08 15:20:51 +0000
commit46b3c21f079a10e1ed072976d355a8026bcb7580 (patch)
tree7fb0311f5f76ec991ebc0a05ba3ab62cd5c8946d /client/xvaccelrenderer.cc
parent9c078bc5e1468ed79d85fafbad41160c0170959e (diff)
*** empty log message ***
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