Ticket #12311: 0212-ticket12311.patch

File 0212-ticket12311.patch, 1.9 KB (added by warpme@…, 5 years ago)

Patch for 0.28

  • mythtv/libs/libmythtv/tv_play.cpp

    diff -Naur mythtv-master-20150105-g4216e00-old/mythtv/libs/libmythtv/tv_play.cpp mythtv-master-20150105-g4216e00-new/mythtv/libs/libmythtv/tv_play.cpp
    old new  
    12561256                // big in fullscreen mode
    12571257                if (fullscreen)
    12581258                {
     1259                    // Hack for ticket12311
     1260                    if ((maxHeight >= 1072) && (maxHeight <= 1200))
     1261                    {
     1262                        LOG(VB_GENERAL, LOG_DEBUG, LOC + "Hack for ticket12311: Re-Adjusted Screen size. Original: "
     1263                        + QString("%1x").arg(maxWidth)
     1264                        + QString("%1. New: ").arg(maxHeight)
     1265                        + QString("%1x1080").arg(maxWidth));
     1266                        maxHeight = 1080;
     1267                    }
     1268
    12591269                    player_bounds.setSize(QSize(maxWidth, maxHeight));
    12601270
    12611271                    // resize possibly avoids a bug on some systems
  • mythtv/libs/libmythui/mythuihelper.cpp

    diff -Naur mythtv-master-20150105-g4216e00-old/mythtv/libs/libmythui/mythuihelper.cpp mythtv-master-20150105-g4216e00-new/mythtv/libs/libmythui/mythuihelper.cpp
    old new  
    890890void MythUIHelper::GetScreenSettings(int &xbase, int &width, float &wmult,
    891891                                     int &ybase, int &height, float &hmult)
    892892{
    893     xbase  = d->m_screenxbase;
    894     ybase  = d->m_screenybase;
     893    xbase  = d->m_screenxbase - 1;
     894    ybase  = d->m_screenybase - 1;
    895895
    896896    height = d->m_screenheight;
    897897    width = d->m_screenwidth;