diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-12 14:52:30 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-12 14:52:30 +0200 |
commit | 0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c (patch) | |
tree | a22c8317f28226d78095534c9c5b1f7119265415 /vdr.c | |
parent | 3a4b7f065ce64a81214cc837841378f979086481 (diff) | |
download | vdr-0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c.tar.gz vdr-0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c.tar.bz2 |
Implemented handling DVB subtitles
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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()) { |