VDR 2.0.0: Fix initialization of cDevice::keepTracks.
Commit Message
As reported here
http://www.vdr-portal.de/board17-developer/board97-vdr-core/p1137010-zu-sp%C3%A4tes-initialisieren-der-variable-keeptracks-in-device-c
the member variable keepTracks is initialized too late in the cDevice c'tor.
The attached patch fixes this.
Klaus
@@ -94,11 +94,11 @@
player = NULL;
isPlayingVideo = false;
+ keepTracks = false; // used in ClrAvailableTracks()!
ClrAvailableTracks();
currentAudioTrack = ttNone;
currentAudioTrackMissingCount = 0;
currentSubtitleTrack = ttNone;
- keepTracks = false;
liveSubtitle = NULL;
dvbSubtitleConverter = NULL;
autoSelectPreferredSubtitleLanguage = true;