From: Savin A. <ale...@gm...> - 2010-06-29 17:45:33
|
don't break config entrys "subtitles.*" in MRL (subtitles.separate.subtitle_size, subtitles.separate.vertical_offset, subtitles.separate.font, subtitles.separate.src_encoding, subtitles.separate.use_unscaled_osd, subtitles.separate.timeout, subtitles.separate.font_freetype, subtitles.separate.font_use_freetype, etc...) diff -r 80a96a21a581 -r 40a8e16bcfd4 src/xine-engine/xine.c --- a/src/xine-engine/xine.c Tue May 25 23:15:25 2010 +0100 +++ b/src/xine-engine/xine.c Tue Jun 29 18:10:13 2010 +0400 @@ -1147,13 +1147,17 @@ stream->slave = NULL; } free(subtitle_mrl); + continue; + } + /* don't break config entry subtitles.* */ + else if(*(stream_setup) == 's' && *(stream_setup+1) == '.'){ + stream_setup-=8; } else { xprintf(stream->xine, XINE_VERBOSITY_LOG, _("xine: error while parsing mrl\n")); stream->err = XINE_ERROR_MALFORMED_MRL; stream->status = XINE_STATUS_IDLE; return 0; } - continue; } { /* when we got here, the stream setup parameter must be a config entry */ -- Best regards, Александр mailto:ale...@gm... |