summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-04 10:45:55 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-04 10:45:55 +0100
commit4f1404e9913705fcc669f4a03b42de11353f3b78 (patch)
treec7d52f146130cd0aaebc9d68e26e3a593505a72c
parent9813a9164bef78bbbb53505ea0cc8818629d966e (diff)
downloadvdr-4f1404e9913705fcc669f4a03b42de11353f3b78.tar.gz
vdr-4f1404e9913705fcc669f4a03b42de11353f3b78.tar.bz2
Fixed flickering if subtitles are active while the OSD demo is running
-rw-r--r--HISTORY3
-rw-r--r--PLUGINS/src/osddemo/HISTORY4
-rw-r--r--PLUGINS/src/osddemo/osddemo.c8
3 files changed, 10 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index 54ce6b87..7ea82952 100644
--- a/HISTORY
+++ b/HISTORY
@@ -8170,7 +8170,7 @@ Video Disk Recorder Revision History
- Fixed a superfluous call to the skin's SetRecording() function after renaming a
recording (reported by Christoph Haubrich).
-2014-01-31: Version 2.1.5
+2014-02-04: Version 2.1.5
- Now checking whether the primary device actually has a decoder before retuning the
current channel after a change in its parameters. This fixes broken recordings on
@@ -8184,3 +8184,4 @@ Video Disk Recorder Revision History
- Fixed clearing non-editable members in the channel editor (thanks to Rolf Ahrenberg).
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
- Further clarified the semantics of cCamSlot::Decrypt().
+- Fixed flickering if subtitles are active while the OSD demo is running.
diff --git a/PLUGINS/src/osddemo/HISTORY b/PLUGINS/src/osddemo/HISTORY
index 9497f407..a542f242 100644
--- a/PLUGINS/src/osddemo/HISTORY
+++ b/PLUGINS/src/osddemo/HISTORY
@@ -63,3 +63,7 @@ VDR Plugin 'osddemo' Revision History
2014-01-01: Version 2.1.1
- Avoiding unnecessary pkg-config warnings in plugin Makefiles.
+
+2014-02-04: Version 2.1.2
+
+- Fixed flickering if subtitles are active while the OSD demo is running.
diff --git a/PLUGINS/src/osddemo/osddemo.c b/PLUGINS/src/osddemo/osddemo.c
index 4ed3ad3c..372fb657 100644
--- a/PLUGINS/src/osddemo/osddemo.c
+++ b/PLUGINS/src/osddemo/osddemo.c
@@ -3,13 +3,13 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: osddemo.c 3.1 2014/01/01 13:29:54 kls Exp $
+ * $Id: osddemo.c 3.2 2014/02/04 10:41:50 kls Exp $
*/
#include <vdr/osd.h>
#include <vdr/plugin.h>
-static const char *VERSION = "2.1.1";
+static const char *VERSION = "2.1.2";
static const char *DESCRIPTION = "Demo of arbitrary OSD setup";
static const char *MAINMENUENTRY = "Osd Demo";
@@ -119,7 +119,7 @@ cLineGame::~cLineGame()
void cLineGame::Show(void)
{
- osd = cOsdProvider::NewOsd(cOsd::OsdLeft(), cOsd::OsdTop(), 50);
+ osd = cOsdProvider::NewOsd(cOsd::OsdLeft(), cOsd::OsdTop());
if (osd) {
int x1 = cOsd::OsdWidth() - 1;
int y1 = cOsd::OsdHeight() - 1;
@@ -496,7 +496,7 @@ bool cTrueColorDemo::SetArea(void)
void cTrueColorDemo::Show(void)
{
- osd = cOsdProvider::NewOsd(cOsd::OsdLeft(), cOsd::OsdTop(), 50);
+ osd = cOsdProvider::NewOsd(cOsd::OsdLeft(), cOsd::OsdTop());
if (osd) {
if (SetArea()) {
osd->DrawRectangle(0, 0, osd->Width() - 1, osd->Height() - 1, clrGray50);