From 5203fa03e8edad9f044d1ecf8fc2b397a7d0c12c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 29 Aug 2010 14:10:47 +0200 Subject: Fixed DDS detection for HD resolution subtitles --- CONTRIBUTORS | 1 + HISTORY | 1 + dvbsubtitle.c | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 79fc76f0..0189b4f4 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1256,6 +1256,7 @@ Reinhard Nissl for devices with large buffers for implementing cDeviceHook for implementing cDevice::GetCurrentlyTunedTransponder() + for fixing DDS detection for HD resolution subtitles Richard Robson for reporting freezing replay if a timer starts while in Transfer Mode from the diff --git a/HISTORY b/HISTORY index b7a56676..3aa9b56d 100644 --- a/HISTORY +++ b/HISTORY @@ -6476,3 +6476,4 @@ Video Disk Recorder Revision History Rolf Ahrenberg). - Added locking to the cCutter functions to avoid a crash in case CutRecording() is called from a plugin (reported by Andreas Mair). +- Fixed DDS detection for HD resolution subtitles (thanks to Reinhard Nissl). diff --git a/dvbsubtitle.c b/dvbsubtitle.c index 6ecb3b78..54943746 100644 --- a/dvbsubtitle.c +++ b/dvbsubtitle.c @@ -7,7 +7,7 @@ * Original author: Marco Schlüßler * With some input from the "subtitle plugin" by Pekka Virtanen * - * $Id: dvbsubtitle.c 2.6 2010/06/05 14:03:55 kls Exp $ + * $Id: dvbsubtitle.c 2.7 2010/08/29 14:08:23 kls Exp $ */ #include "dvbsubtitle.h" @@ -660,7 +660,7 @@ cDvbSubtitleConverter::cDvbSubtitleConverter(void) dvbSubtitleAssembler = new cDvbSubtitleAssembler; osd = NULL; frozen = false; - ddsVersionNumber = 0; + ddsVersionNumber = -1; displayWidth = 720; displayHeight = 576; displayHorizontalOffset = 0; @@ -693,7 +693,7 @@ void cDvbSubtitleConverter::Reset(void) bitmaps->Clear(); DELETENULL(osd); frozen = false; - ddsVersionNumber = 0; + ddsVersionNumber = -1; displayWidth = 720; displayHeight = 576; displayHorizontalOffset = 0; -- cgit v1.2.3