summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-19 10:18:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-19 10:18:28 +0100
commit0d6ce369c6936f423334deaa9725a88a6337a981 (patch)
tree9a47da6d7707d8af37bce4a8b7f9df1ece39770c /menu.c
parentb5bbfe05892140527be4d739b138f3aa147e77eb (diff)
downloadvdr-0d6ce369c6936f423334deaa9725a88a6337a981.tar.gz
vdr-0d6ce369c6936f423334deaa9725a88a6337a981.tar.bz2
When setting the audio track descriptions, the language codes are now also set in case this is a replay session
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index 6690521b..e2088943 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.412 2006/02/18 12:42:24 kls Exp $
+ * $Id: menu.c 1.413 2006/02/19 10:18:28 kls Exp $
*/
#include "menu.h"
@@ -2989,9 +2989,9 @@ static void SetTrackDescriptions(int LiveChannel)
const tComponent *p = Components->Component(i);
if (p->stream == 2) {
if (p->type == 0x05)
- cDevice::PrimaryDevice()->SetAvailableTrack(ttDolby, indexDolby++, 0, NULL, p->description);
+ cDevice::PrimaryDevice()->SetAvailableTrack(ttDolby, indexDolby++, 0, LiveChannel ? NULL : p->language, p->description);
else
- cDevice::PrimaryDevice()->SetAvailableTrack(ttAudio, indexAudio++, 0, NULL, p->description);
+ cDevice::PrimaryDevice()->SetAvailableTrack(ttAudio, indexAudio++, 0, LiveChannel ? NULL : p->language, p->description);
}
}
}