summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-06-17 08:44:25 +0000
committerphintuka <phintuka>2007-06-17 08:44:25 +0000
commitddbc44d6320175865e17899d15f56b4e2ca5673f (patch)
tree74bd4dbf4d8662fb7524cba882765b732f005d02
parente383e1752117aadd8e98953babc0d50968f1914d (diff)
downloadxineliboutput-ddbc44d6320175865e17899d15f56b4e2ca5673f.tar.gz
xineliboutput-ddbc44d6320175865e17899d15f56b4e2ca5673f.tar.bz2
Fix missing first SPU track in SPU selection menu
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 1eaaa62b..6a586aec 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c,v 1.36 2007-06-12 15:11:19 phintuka Exp $
+ * $Id: menu.c,v 1.37 2007-06-17 08:44:25 phintuka Exp $
*
*/
@@ -560,7 +560,7 @@ cDisplaySpuTracks::cDisplaySpuTracks(void) : cOsdObject(true)
for (int i = 0; i <= 63; i++) {
const tTrackId *TrackId = cXinelibDevice::Instance().GetDvdSpuTrack(i);
- if (TrackId && TrackId->id) {
+ if (TrackId && TrackId->id >= 0) {
types[numTracks] = eTrackType(i);
descriptions[numTracks] = strdup(*TrackId->description ? TrackId->description : *TrackId->language ? TrackId->language : *itoa(i));
if (i == CurrentTrack)