diff options
Diffstat (limited to 'client/xvaccelrenderer.cc')
-rw-r--r-- | client/xvaccelrenderer.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/client/xvaccelrenderer.cc b/client/xvaccelrenderer.cc index 4ba8a9f..984c57a 100644 --- a/client/xvaccelrenderer.cc +++ b/client/xvaccelrenderer.cc @@ -30,28 +30,24 @@ #define VERBOSE_XV //________________Wrapper around Xv_______________ -XvAccelRender::XvAccelRender( void ) +XvAccelRender::XvAccelRender(QWidget *window, uint32_t w, uint32_t h) { xvimage = NULL; -} -uint8_t XvAccelRender::init(QWidget *window, uint32_t w, uint32_t h) -{ #ifdef VERBOSE_XV printf("Xv start\n"); #endif width = w; height = h; - return GUI_XvInit(window, w, h); + GUI_XvInit(window, w, h); } -uint8_t XvAccelRender::end(void) +XvAccelRender::~XvAccelRender() { GUI_XvEnd( ); #ifdef VERBOSE_XV printf("Xv end\n"); #endif - return 1; } char *XvAccelRender::getDisplayData() |