*** videoout_xv.cpp.orig 2006-02-08 11:38:17.000000000 -0500 --- videoout_xv.cpp 2006-03-17 19:56:31.000000000 -0500 *************** *** 682,687 **** --- 682,695 ---- continue; X11L; + /* MCM */ + char *xv_port_str = getenv("XV_PORT"); + if (xv_port_str) { + int xv_port_int = atoi(xv_port_str); + if (xv_port_int > 0) { + p = xv_port_int; + } + } ret = XvGrabPort(disp, p, CurrentTime); if (Success == ret) { *************** *** 702,707 **** --- 710,732 ---- } else { + /* MCM */ + char *xv_port_str = getenv("XV_PORT"); + if (xv_port_str) { + int xv_port_int = atoi(xv_port_str); + if (xv_port_int > 0) { + p = xv_port_int; + X11L; + ret = XvGrabPort(disp, p, CurrentTime); + if (Success == ret) + { + VERBOSE(VB_PLAYBACK, LOC + "Grabbed xv port "<