diff options
author | phintuka <phintuka> | 2008-09-25 19:25:53 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-09-25 19:25:53 +0000 |
commit | 63d17bd49ddb686bef3aa7af1fe8fe94b66cec9c (patch) | |
tree | d5770812faf4571aa6a10402d28df567c387bc84 | |
parent | 3a8a369df05c6c07b5dc2be1b88fe775b5592b9d (diff) | |
download | xineliboutput-63d17bd49ddb686bef3aa7af1fe8fe94b66cec9c.tar.gz xineliboutput-63d17bd49ddb686bef3aa7af1fe8fe94b66cec9c.tar.bz2 |
Signal automatically (or from DVD menu) selected SPU channel to VDR
-rw-r--r-- | xine_input_vdr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 6d5573a4..8e71629f 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.178 2008-09-25 19:23:41 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.179 2008-09-25 19:25:53 phintuka Exp $ * */ @@ -3952,6 +3952,8 @@ static void slave_track_maps_changed(vdr_input_plugin_t *this) "*%d:%s ", current, current==SPU_CHANNEL_NONE ? "none" : "auto"); n++; + if(current == SPU_CHANNEL_AUTO) + current = this->slave_stream->spu_channel_auto; } for(i=0; i<32 && cnt<sizeof(tracks)-32; i++) if(xine_get_spu_lang(this->slave_stream, i, lang)) { |