diff options
author | phintuka <phintuka> | 2008-10-21 09:42:21 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-10-21 09:42:21 +0000 |
commit | fc47ded78867321143021447b14e3eab317aedb7 (patch) | |
tree | 258f5925fe82223f8aec99f3a366d733b88cf2ae | |
parent | e279d7845e787bdad719f37fa19a6542abf14257 (diff) | |
download | xineliboutput-fc47ded78867321143021447b14e3eab317aedb7.tar.gz xineliboutput-fc47ded78867321143021447b14e3eab317aedb7.tar.bz2 |
Fixed playing first track of audio CD (requires xine-lib 1.1.5)
-rw-r--r-- | xine_input_vdr.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 9d2d14ef..6a1ec112 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.184 2008-10-18 11:37:06 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.185 2008-10-21 09:42:21 phintuka Exp $ * */ @@ -3783,6 +3783,18 @@ static int vdr_plugin_parse_control(vdr_input_plugin_if_t *this_if, const char * } } else if(!strncasecmp(cmd, "GETAUTOPLAYSIZE", 15)) { + + if (cmd[15]==' ' && cmd[16]) { + /* query from specific input plugin */ + const char *cls_name = cmd + 16; + this->autoplay_size = 0; + if (! xine_get_browse_mrls (stream->xine, + cls_name, + NULL, &this->autoplay_size)) + /* try older method */ + xine_get_autoplay_mrls(stream->xine, cls_name, &this->autoplay_size); + } + if(this->autoplay_size < 0) { char **list; if(this->slave_stream && |