summaryrefslogtreecommitdiffstats
path: root/linhes/mythtv/0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-03-15 21:30:14 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-03-15 21:30:14 (GMT)
commitee18ce7f418ef89e89d79fe804550be9a4918780 (patch)
treef0e56666cc20ee74f5bb6aa5df0071d5dc324b82 /linhes/mythtv/0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch
parent21dca81b1eecef330cbece807acf0994a9a12acb (diff)
downloadlinhes_pkgbuild-ee18ce7f418ef89e89d79fe804550be9a4918780.zip
linhes_pkgbuild-ee18ce7f418ef89e89d79fe804550be9a4918780.tar.gz
linhes_pkgbuild-ee18ce7f418ef89e89d79fe804550be9a4918780.tar.bz2
mythtv: update and add some patches
Diffstat (limited to 'linhes/mythtv/0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch')
-rw-r--r--linhes/mythtv/0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/linhes/mythtv/0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch b/linhes/mythtv/0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch
new file mode 100644
index 0000000..4705b71
--- /dev/null
+++ b/linhes/mythtv/0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch
@@ -0,0 +1,20 @@
+diff -Naur mythtv-master-20210518-gc8c226c9b4-old/mythtv/libs/libmythtv/mythplayerui.cpp mythtv-master-20210518-gc8c226c9b4-new/mythtv/libs/libmythtv/mythplayerui.cpp
+--- mythtv-master-20210518-gc8c226c9b4-old/mythtv/libs/libmythtv/mythplayerui.cpp 2021-05-18 16:13:11.066666603 +0200
++++ mythtv-master-20210518-gc8c226c9b4-new/mythtv/libs/libmythtv/mythplayerui.cpp 2021-05-18 16:13:14.299999937 +0200
+@@ -821,14 +821,14 @@
+ if (m_decoder)
+ Map["videocodecdesc"] = m_decoder->GetRawEncodingType();
+ Map["videowidth"] = QString::number(width);
+- Map["videoheight"] = QString::number(height);
++ bool interlaced = is_interlaced(GetScanType());
++ Map["videoheight"] = QString::number(height) + (interlaced ? "i" : "p");
+ Map["videoframerate"] = QString::number(m_videoFrameRate, 'f', 2);
+ Map["deinterlacer"] = GetDeinterlacerName();
+
+ if (width < 640)
+ return;
+
+- bool interlaced = is_interlaced(GetScanType());
+ if (height > 2100)
+ Map["videodescrip"] = interlaced ? "UHD_4K_I" : "UHD_4K_P";
+ else if (width == 1920 || height == 1080 || height == 1088)