From 7d20cf5c94b09f7f0d3ac56c416d9629870f0eb8 Mon Sep 17 00:00:00 2001 From: etobi Date: Wed, 16 May 2012 22:36:18 +0200 Subject: Added some new resolutions --- HISTORY | 3 +++ osd.c | 5 +++++ setup.c | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) 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 }; -- cgit v1.2.3