Ticket #13400: 20190206-video-aspect.patch

File 20190206-video-aspect.patch, 681 bytes (added by Klaas de Waal, 12 months ago)

FIx for video aspect ratio on multi-screen system that are seen as a single big screen.

  • mythtv/libs/libmythtv/videooutbase.cpp

    diff --git a/mythtv/libs/libmythtv/videooutbase.cpp b/mythtv/libs/libmythtv/videooutbase.cpp
    index 9736ef1627..e5392ee947 100644
    a b void VideoOutput::InitDisplayMeasurements(uint width, uint height, bool resize) 
    19121912        ResizeForVideo(width, height);
    19131913
    19141914    // Determine window and screen dimensions in pixels
    1915     QSize screen_size = window.GetScreenGeometry().size();
     1915    QSize screen_size = sz1;        // Was: window.GetScreenGeometry().size();
    19161916    QSize window_size = window.GetDisplayVisibleRect().size();
    19171917
    19181918    float pixel_aspect = (float)screen_size.width() /