[Xineliboutput-cvslog] vdr-xineliboutput xine_input_vdr.c, 1.362, 1.363
Brought to you by:
phintuka
From: Petri H. <phi...@us...> - 2012-07-18 11:55:35
|
Update of /cvsroot/xineliboutput/vdr-xineliboutput In directory vz-cvs-3.sog:/tmp/cvs-serv3735 Modified Files: xine_input_vdr.c Log Message: Fix audio track selection for media files without track map / language codes (http://sourceforge.net/projects/xineliboutput/forums/forum/540657/topic/3710295) Index: xine_input_vdr.c =================================================================== RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/xine_input_vdr.c,v retrieving revision 1.362 retrieving revision 1.363 diff -u -d -r1.362 -r1.363 --- xine_input_vdr.c 11 May 2012 07:37:27 -0000 1.362 +++ xine_input_vdr.c 18 Jul 2012 11:55:33 -0000 1.363 @@ -3697,6 +3697,10 @@ cnt += snprintf(tracks+cnt, sizeof(tracks)-cnt-32, "%s%d:%s ", i==current?"*":"", i, trim_str(lang)); n++; + } else if (i < this->slave.stream->audio_track_map_entries) { + cnt += snprintf(tracks+cnt, sizeof(tracks)-cnt-32, + "%s%d:%d ", i==current?"*":"", i, i); + n++; } tracks[sizeof(tracks)-1] = 0; if(n>1) |