diff options
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r-- | xine_input_vdr.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 99e84de9..de6912cd 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.88 2007-06-26 10:50:27 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.89 2007-06-26 14:56:13 phintuka Exp $ * */ @@ -2730,10 +2730,6 @@ static int handle_control_playfile(vdr_input_plugin_t *this, const char *cmd) } if(!strcmp(filename,"dvd:/")) { - /* DVD plugin 'bug': unescaping is not implemented ... */ - char *mrl = unescape_filename(filename); - strn0cpy(filename, mrl, sizeof(filename)); - free(mrl); #if 0 /* input/media_helper.c */ eject_media(0); /* DVD tray in */ @@ -2745,6 +2741,12 @@ static int handle_control_playfile(vdr_input_plugin_t *this, const char *cmd) dvd_set_speed(device.str_value, 2700); #endif } + else if(!strncmp(filename,"dvd:/", 5)) { + /* DVD plugin 'bug': unescaping is not implemented ... */ + char *mrl = unescape_filename(filename); + strn0cpy(filename, mrl, sizeof(filename)); + free(mrl); + } if(!this->slave_stream) { this->slave_stream = xine_stream_new(this->stream->xine, |