summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2012-05-16 22:36:18 +0200
committeretobi <git@e-tobi.net>2012-05-16 22:36:18 +0200
commit7d20cf5c94b09f7f0d3ac56c416d9629870f0eb8 (patch)
treebff9f158d98ae128f84adec42d4cc6b1544fe2ed
parent97b9a19e1a9947eaff462815b907ea7050dfa9d7 (diff)
downloadvdr-plugin-osdpip-7d20cf5c94b09f7f0d3ac56c416d9629870f0eb8.tar.gz
vdr-plugin-osdpip-7d20cf5c94b09f7f0d3ac56c416d9629870f0eb8.tar.bz2
Added some new resolutionsHEADv0.1.2master
-rw-r--r--HISTORY3
-rw-r--r--osd.c5
-rw-r--r--setup.c7
3 files changed, 14 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 99025c9..098e404 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4,6 +4,9 @@ VDR Plugin 'osdpip' Revision History
2012-05-16: Version 0.1.2
- Adapted for VDR 1.7.27 (Closes #981, #964, #902)
- Dropped VDR 1.6 support
+- Added some new resolutions:
+ 4:3 - 450x360, 600x480
+ 16:9 - 320x180, 480x270, 640x360
2012-02-12: Version 0.1.1
diff --git a/osd.c b/osd.c
index a8a683b..f3c15cc 100644
--- a/osd.c
+++ b/osd.c
@@ -215,6 +215,11 @@ void cOsdPipObject::ProcessImage(unsigned char * data, int length)
case 8: m_Width = 260; m_Height = 208; break;
case 9: m_Width = 280; m_Height = 224; break;
case 10: m_Width = 300; m_Height = 240; break;
+ case 11: m_Width = 450; m_Height = 360; break;
+ case 12: m_Width = 600; m_Height = 480; break;
+ case 13: m_Width = 320; m_Height = 180; break;
+ case 14: m_Width = 480; m_Height = 270; break;
+ case 15: m_Width = 640; m_Height = 360; break;
}
if (OsdPipSetup.ShowInfo > 0)
{
diff --git a/setup.c b/setup.c
index 1dee1b6..00556fa 100644
--- a/setup.c
+++ b/setup.c
@@ -23,7 +23,7 @@
#include "setup.h"
const int kColorDepths = 5;
-const int kSizes = 11;
+const int kSizes = 16;
const int kFrameModes = 3;
const int kFrameDrops = 4;
const int kShowInfoTypes = 4;
@@ -46,6 +46,11 @@ const char * SizeItems[] = {
"260x208",
"280x224",
"300x240",
+ "450x360",
+ "600x480",
+ "320x180",
+ "480x270",
+ "640x360",
NULL
};