diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-12 21:08:23 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-12 21:08:23 +0200 |
commit | 448f95f8172f7ab895371c97abdb980d332cec91 (patch) | |
tree | 39c539d795eee02a5241e649d24cd0e40d93ff42 | |
parent | 8a7dbd1e566791814164b00f47f886b4b5d15f4d (diff) | |
download | vdr-448f95f8172f7ab895371c97abdb980d332cec91.tar.gz vdr-448f95f8172f7ab895371c97abdb980d332cec91.tar.bz2 |
Added missing update of lastOsdSizeUpdate
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | vdr.c | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -6075,7 +6075,7 @@ Video Disk Recorder Revision History - cFrameDetector::Analyze() now syncs on the TS packet sync bytes (thanks to Oliver Endriss for reporting broken index generation after a buffer overflow). -2009-05-10: Version 1.7.8 +2009-05-12: Version 1.7.8 - Fixed a typo in aspect ratio 2.21:1 (reported by Reinhard Nissl). - The name of the function cDevice::GetVideoSize() wasn't very well chosen @@ -6095,3 +6095,4 @@ Video Disk Recorder Revision History it has returned a non-NULL value. - Added MPEG 1 handling to remux.c (thanks to Ales Jurik). - Fixed use of time_t in cEIT::cEIT() (thanks to Tobias Bratfisch). +- Added missing update of lastOsdSizeUpdate. @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 2.8 2009/05/03 10:33:06 kls Exp $ + * $Id: vdr.c 2.9 2009/05/12 21:02:58 kls Exp $ */ #include <getopt.h> @@ -750,8 +750,10 @@ int main(int argc, char *argv[]) // Update the OSD size: { static time_t lastOsdSizeUpdate = 0; - if (Now != lastOsdSizeUpdate) // once per second + if (Now != lastOsdSizeUpdate) { // once per second cOsdProvider::UpdateOsdSize(); + lastOsdSizeUpdate = Now; + } } // Restart the Watchdog timer: if (WatchdogTimeout > 0) { |