Index: libs/libmythtv/videoout_xv.cpp
===================================================================
--- libs/libmythtv/videoout_xv.cpp	(revision 10004)
+++ libs/libmythtv/videoout_xv.cpp	(working copy)
@@ -1196,14 +1196,14 @@
     XJ_depth      = DefaultDepthOfScreen(XJ_screen);
     X11U;
 
+    // Set resolution/measurements (check XRandR, Xinerama, config settings)
+    InitDisplayMeasurements(width, height);
+
     // Basic setup
     VideoOutput::Init(width, height, aspect,
                       winid, winx, winy, winw, winh,
                       embedid);
 
-    // Set resolution/measurements (check XRandR, Xinerama, config settings)
-    InitDisplayMeasurements(width, height);
-
     // Set embedding window id
     if (embedid > 0)
         XJ_curwin = XJ_win = embedid;
