summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 81ae6ec..b22dec3 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.299 2007/08/25 08:51:13 kls Exp $
+ * $Id: vdr.c 1.300 2007/08/26 14:36:48 kls Exp $
*/
#include <getopt.h>
@@ -1009,6 +1009,18 @@ int main(int argc, char *argv[])
cDisplayTracks::Process(key);
key = kNone;
break;
+ // Subtitle track control:
+ case kSubtitles:
+ if (cControl::Control())
+ cControl::Control()->Hide();
+ if (!cDisplaySubtitleTracks::IsOpen()) {
+ DELETE_MENU;
+ Menu = cDisplaySubtitleTracks::Create();
+ }
+ else
+ cDisplaySubtitleTracks::Process(key);
+ key = kNone;
+ break;
// Pausing live video:
case kPause:
if (!cControl::Control()) {