diff -Naur mythtv-master-20160505-ged7473f-old/mythtv/libs/libmythtv/tv_play.cpp mythtv-master-20160505-ged7473f-new/mythtv/libs/libmythtv/tv_play.cpp
old
|
new
|
|
1274 | 1274 | { |
1275 | 1275 | int xbase, width, ybase, height; |
1276 | 1276 | GetMythUI()->GetScreenBounds(xbase, ybase, width, height); |
| 1277 | |
| 1278 | // Hack for ticket12311 |
| 1279 | xbase = xbase - 1; |
| 1280 | ybase = ybase - 1; |
| 1281 | |
1277 | 1282 | player_bounds = QRect(xbase, ybase, width, height); |
1278 | 1283 | } |
1279 | 1284 | |
… |
… |
|
1294 | 1299 | // big in fullscreen mode |
1295 | 1300 | if (fullscreen) |
1296 | 1301 | { |
| 1302 | // Hack for ticket12311 |
| 1303 | if ((maxHeight >= 1072) && (maxHeight <= 1200)) |
| 1304 | { |
| 1305 | LOG(VB_GENERAL, LOG_DEBUG, LOC + "Hack for ticket12311: Re-Adjusted Screen size. Original: " |
| 1306 | + QString("%1x").arg(maxWidth) |
| 1307 | + QString("%1. New: ").arg(maxHeight) |
| 1308 | + QString("%1x1080").arg(maxWidth)); |
| 1309 | maxHeight = 1080; |
| 1310 | } |
| 1311 | |
1297 | 1312 | player_bounds.setSize(QSize(maxWidth, maxHeight)); |
1298 | 1313 | |
1299 | 1314 | // resize possibly avoids a bug on some systems |
diff -Naur mythtv-master-20160505-ged7473f-old/mythtv/libs/libmythui/mythuihelper.cpp mythtv-master-20160505-ged7473f-new/mythtv/libs/libmythui/mythuihelper.cpp
old
|
new
|
|
318 | 318 | GetMythDB()->OverrideSettingForSession("GuiHeight", QString::number(h_override)); |
319 | 319 | } |
320 | 320 | |
321 | | m_screenxbase = GetMythDB()->GetNumSetting("GuiOffsetX"); |
322 | | m_screenybase = GetMythDB()->GetNumSetting("GuiOffsetY"); |
| 321 | m_screenxbase = GetMythDB()->GetNumSetting("GuiOffsetX") - 1; |
| 322 | m_screenybase = GetMythDB()->GetNumSetting("GuiOffsetY") - 1; |
323 | 323 | |
324 | 324 | m_screenwidth = m_screenheight = 0; |
325 | 325 | GetMythDB()->GetResolutionSetting("Gui", m_screenwidth, m_screenheight); |