summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-06 14:36:40 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-06 14:36:40 +0100
commit723537ccc8959a5576db9b7c7c6e510e08f699c4 (patch)
treea0deecda0ccdb01ea51174f7d09971f5c07322f9 /vdr.c
parentb38753888777a22e4f822508c786a62248aea108 (diff)
downloadvdr-723537ccc8959a5576db9b7c7c6e510e08f699c4.tar.gz
vdr-723537ccc8959a5576db9b7c7c6e510e08f699c4.tar.bz2
kAudio closes temporary OSD displays
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index a424b27c..5c823724 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.197 2005/01/02 14:39:41 kls Exp $
+ * $Id: vdr.c 1.198 2005/01/06 14:36:40 kls Exp $
*/
#include <getopt.h>
@@ -699,6 +699,12 @@ int main(int argc, char *argv[])
break;
// Audio track control:
case kAudio:
+ if (cControl::Control())
+ cControl::Control()->Hide();
+ if (Temp && !cDisplayTracks::IsOpen()) {
+ DELETENULL(Menu);
+ Temp = NULL;
+ }
if (!Menu && !cOsd::IsOpen())
Menu = Temp = cDisplayTracks::Create();
else