summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-06 11:33:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-06 11:33:13 +0100
commit1f677366c4c486eddce517d696d672acfd56db37 (patch)
treeefadf7df3ec7f147a4e5709c19c99529d741f48b /menu.c
parent450e58439a8ad67f7b9a684a27dadbf0e17969f9 (diff)
downloadvdr-1f677366c4c486eddce517d696d672acfd56db37.tar.gz
vdr-1f677366c4c486eddce517d696d672acfd56db37.tar.bz2
Making sure the current audio track is actually one of the ones available in a recording
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 4e00a999..a438b799 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.339 2005/02/05 11:35:23 kls Exp $
+ * $Id: menu.c 1.340 2005/02/06 11:33:13 kls Exp $
*/
#include "menu.h"
@@ -2850,6 +2850,7 @@ cDisplayTracks *cDisplayTracks::currentDisplayTracks = NULL;
cDisplayTracks::cDisplayTracks(void)
:cOsdObject(true)
{
+ cDevice::PrimaryDevice()->EnsureAudioTrack();
// Get the actual audio track descriptions from the EPG if we're not replaying:
if (!cDevice::PrimaryDevice()->Replaying() || cTransferControl::ReceiverDevice())
SetTrackDescriptions();