diff options
author | phintuka <phintuka> | 2008-10-21 09:51:06 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-10-21 09:51:06 +0000 |
commit | 09eb57973518cf0e0c403848f22df32d1a7043ea (patch) | |
tree | 5645bd0483bc9761ccfb43a32919e62123baa321 | |
parent | 1f62af4fd83682729c82cf81162a77e9ba6e4a6d (diff) | |
download | xineliboutput-09eb57973518cf0e0c403848f22df32d1a7043ea.tar.gz xineliboutput-09eb57973518cf0e0c403848f22df32d1a7043ea.tar.bz2 |
1.0.3: Backported bugfixes from CVS trunk:
- 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 b3d4edab..4e46bd52 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.138.2.12 2008-10-18 11:34:47 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.138.2.13 2008-10-21 09:51:05 phintuka Exp $ * */ @@ -3849,6 +3849,18 @@ static int vdr_plugin_parse_control(input_plugin_t *this_gen, const char *cmd) } } 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 && |