Ticket #1846: 1846.patch

File 1846.patch, 797 bytes (added by danielk, 18 years ago)

possible fix

  • libs/libmythtv/videoout_xv.cpp

     
    11961196    XJ_depth      = DefaultDepthOfScreen(XJ_screen);
    11971197    X11U;
    11981198
     1199    // Set resolution/measurements (check XRandR, Xinerama, config settings)
     1200    InitDisplayMeasurements(width, height);
     1201
    11991202    // Basic setup
    12001203    VideoOutput::Init(width, height, aspect,
    12011204                      winid, winx, winy, winw, winh,
    12021205                      embedid);
    12031206
    1204     // Set resolution/measurements (check XRandR, Xinerama, config settings)
    1205     InitDisplayMeasurements(width, height);
    1206 
    12071207    // Set embedding window id
    12081208    if (embedid > 0)
    12091209        XJ_curwin = XJ_win = embedid;