summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-01 12:06:50 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-01 12:06:50 +0100
commit45f660e35894902316045782232cb5a95a971212 (patch)
tree33d43b061edbe71baf5590896728b67271001ca5 /device.h
parent250419d2c9fce77bdd4714d0d7a0debbd893db51 (diff)
downloadvdr-45f660e35894902316045782232cb5a95a971212.tar.gz
vdr-45f660e35894902316045782232cb5a95a971212.tar.bz2
When pausing live video, the current audio and subtitle tracks are now retained
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/device.h b/device.h
index e8673969..a6254517 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 2.44 2013/01/22 17:01:16 kls Exp $
+ * $Id: device.h 2.45 2013/02/01 11:54:08 kls Exp $
*/
#ifndef __DEVICE_H
@@ -490,6 +490,7 @@ private:
cMutex mutexCurrentSubtitleTrack;
int currentAudioTrackMissingCount;
bool autoSelectPreferredSubtitleLanguage;
+ bool keepTracks;
int pre_1_3_19_PrivateStream;
protected:
virtual void SetAudioTrackDevice(eTrackType Type);
@@ -539,6 +540,10 @@ public:
void EnsureSubtitleTrack(void);
///< Makes sure one of the preferred language subtitle tracks is selected.
///< Only has an effect if Setup.DisplaySubtitles is on.
+ void SetKeepTracks(bool KeepTracks) { keepTracks = KeepTracks; }
+ ///< Controls whether the current audio and subtitle track settings shall
+ ///< be kept as they currently are, or if they shall be automatically
+ ///< adjusted. This is used when pausing live video.
// Audio facilities