Ticket #6533: videoout_win32.diff

File videoout_win32.diff, 908 bytes (added by Jeff Lu <jll544@…>, 11 years ago)

Additional patch for basic aspect ratio setup

  • libs/libmythtv/videoout_d3d.cpp

     
    489489    m_pauseFrame.buf    = new unsigned char[m_pauseFrame.size + 128];
    490490    m_pauseFrame.frameNumber = vbuffers.GetScratchFrame()->frameNumber;
    491491
     492    windows[0].SetDisplayAspect((float)winw/winh);
     493
    492494    MoveResize();
    493495
    494496    return true;
  • libs/libmythtv/videoout_dx.cpp

     
    177177    XJ_width  = video_dim.width();
    178178    XJ_height = video_dim.height();
    179179
     180    windows[0].SetDisplayAspect((float)winw/winh);
     181
    180182    vbuffers.CreateBuffers(XJ_width, XJ_height);
    181183    MoveResize();
    182184