From d962999161f94f3dab10a782c1e2baea07225d97 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 5 Apr 2013 10:27:16 +0200 Subject: [PATCH] Fixed initializing cDevice::keepTracks --- HISTORY | 4 ++++ config.h | 6 +++--- device.c | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/HISTORY b/HISTORY index 393c7395..6de22231 100644 --- a/HISTORY +++ b/HISTORY @@ -7782,3 +7782,7 @@ Video Disk Recorder Revision History - Fixed handling overlapping pending timers (reported by Matthias Senzel). - Bumped all version numbers to 2.0.0. - Official release. + +2013-04-05: Version 2.1.1 + +- Fixed initializing cDevice::keepTracks. diff --git a/config.h b/config.h index 6a8e5d36..9324ebc1 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 2.76 2013/03/31 09:30:18 kls Exp $ + * $Id: config.h 3.1 2013/04/05 10:27:16 kls Exp $ */ #ifndef __CONFIG_H @@ -22,8 +22,8 @@ // VDR's own version number: -#define VDRVERSION "2.0.0" -#define VDRVERSNUM 20000 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "2.1.1" +#define VDRVERSNUM 20101 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: diff --git a/device.c b/device.c index ff51a115..b84fee02 100644 --- a/device.c +++ b/device.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 2.74 2013/03/07 13:18:35 kls Exp $ + * $Id: device.c 3.1 2013/04/05 10:05:33 kls Exp $ */ #include "device.h" @@ -94,11 +94,11 @@ cDevice::cDevice(void) player = NULL; isPlayingVideo = false; + keepTracks = false; // used in ClrAvailableTracks()! ClrAvailableTracks(); currentAudioTrack = ttNone; currentAudioTrackMissingCount = 0; currentSubtitleTrack = ttNone; - keepTracks = false; liveSubtitle = NULL; dvbSubtitleConverter = NULL; autoSelectPreferredSubtitleLanguage = true;