From 0409a5aacafc1228d00636c879ac147d3c2915b3 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 20 Sep 2014 13:21:37 -0700 Subject: Xorg: added XVideo extension --- xorg/server/xrdpdev/xrdpdev.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xorg/server/xrdpdev') diff --git a/xorg/server/xrdpdev/xrdpdev.c b/xorg/server/xrdpdev/xrdpdev.c index f247ec78..fc33ca8a 100644 --- a/xorg/server/xrdpdev/xrdpdev.c +++ b/xorg/server/xrdpdev/xrdpdev.c @@ -53,6 +53,7 @@ This is the main driver file #include "rdpGlyphs.h" #include "rdpPixmap.h" #include "rdpClientCon.h" +#include "rdpXv.h" #define XRDP_DRIVER_NAME "XRDPDEV" #define XRDP_NAME "XRDPDEV" @@ -457,11 +458,11 @@ rdpScreenInit(ScreenPtr pScreen, int argc, char **argv) miInitializeBackingStore(pScreen); #endif -#if 0 +#if 1 /* XVideo */ - if (rdp_xv_init(pScreen, pScrn) != 0) + if (!rdpXvInit(pScreen, pScrn)) { - LLOGLN(0, ("rdpScreenInit: rdp_xv_init failed")); + LLOGLN(0, ("rdpScreenInit: rdpXvInit failed")); } #endif -- cgit v1.2.1