summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-10-12 14:52:30 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-10-12 14:52:30 +0200
commit0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c (patch)
treea22c8317f28226d78095534c9c5b1f7119265415 /vdr.c
parent3a4b7f065ce64a81214cc837841378f979086481 (diff)
downloadvdr-0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c.tar.gz
vdr-0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c.tar.bz2
Implemented handling DVB subtitles
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 81ae6ecb..e6347878 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/09/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()) {