diff options
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |