Ticket #3505: fix-osd-resize.diff

File fix-osd-resize.diff, 744 bytes (added by matt.doran@…, 14 years ago)
  • libs/libmythtv/NuppelVideoPlayer.cpp

     
    582582            return false;
    583583        }
    584584
     585        if (isDummy) {
     586            // Force the dummy output to our display size. So the OSD doesn't
     587            // resize when the real video comes in
     588            video_aspect = widget->width() / (float) widget->height();
     589        }
     590
    585591        if (!videoOutput->Init(video_width, video_height, video_aspect,
    586592                               widget->winId(), 0, 0, widget->width(),
    587593                               widget->height(), 0))