From 491c6d0a859c98b7da69b5b4a01be0133fdfdc1c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 1 Jan 2010 15:15:36 +0100 Subject: Fixed stopping subtitle display when switching the primary device --- PLUGINS/src/dvbsddevice/HISTORY | 5 +++++ PLUGINS/src/dvbsddevice/dvbsddevice.c | 4 ++-- PLUGINS/src/dvbsddevice/dvbsdffdevice.c | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'PLUGINS/src/dvbsddevice') diff --git a/PLUGINS/src/dvbsddevice/HISTORY b/PLUGINS/src/dvbsddevice/HISTORY index 96157d5e..d2b0f1f6 100644 --- a/PLUGINS/src/dvbsddevice/HISTORY +++ b/PLUGINS/src/dvbsddevice/HISTORY @@ -4,3 +4,8 @@ VDR Plugin 'dvbsddevice' Revision History 2009-12-28: Version 0.0.1 - Initial revision. + +2010-01-01: Version 0.0.2 + +- Calling the MakePrimaryDevice() function of the base class to allow + the cDevice to stop displaying subtitles. diff --git a/PLUGINS/src/dvbsddevice/dvbsddevice.c b/PLUGINS/src/dvbsddevice/dvbsddevice.c index 52317f88..e2248e9b 100644 --- a/PLUGINS/src/dvbsddevice/dvbsddevice.c +++ b/PLUGINS/src/dvbsddevice/dvbsddevice.c @@ -3,13 +3,13 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: dvbsddevice.c 1.1 2009/12/31 15:36:00 kls Exp $ + * $Id: dvbsddevice.c 1.2 2010/01/01 15:01:01 kls Exp $ */ #include #include "dvbsdffdevice.h" -static const char *VERSION = "0.0.1"; +static const char *VERSION = "0.0.2"; static const char *DESCRIPTION = "SD Full Featured DVB device"; class cPluginDvbsddevice : public cPlugin { diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c index 797bfd33..61913776 100644 --- a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c +++ b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: dvbsdffdevice.c 2.23 2009/12/31 15:36:56 kls Exp $ + * $Id: dvbsdffdevice.c 2.24 2010/01/01 15:03:02 kls Exp $ */ #include "dvbsdffdevice.h" @@ -82,6 +82,7 @@ void cDvbSdFfDevice::MakePrimaryDevice(bool On) { if (On) new cDvbOsdProvider(fd_osd); + cDvbDevice::MakePrimaryDevice(On); } bool cDvbSdFfDevice::HasDecoder(void) const -- cgit v1.2.3