diff options
author | phintuka <phintuka> | 2008-07-28 18:44:53 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-07-28 18:44:53 +0000 |
commit | 01e01ebddce661601283fdc79a0eaef06e4cf54c (patch) | |
tree | c154ff726bed31ab560bd90b8b5f9fd9fa4030b7 | |
parent | 3d57b4151615dfa61fbe009eed3db2102fd0df3c (diff) | |
download | xineliboutput-01e01ebddce661601283fdc79a0eaef06e4cf54c.tar.gz xineliboutput-01e01ebddce661601283fdc79a0eaef06e4cf54c.tar.bz2 |
Fix updating window title when protocol is part of mrl (ex. xvdr+tcp: ...)
-rw-r--r-- | xine_sxfe_frontend.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index a69be873..da200e39 100644 --- a/xine_sxfe_frontend.c +++ b/xine_sxfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_sxfe_frontend.c,v 1.79 2008-07-28 18:43:36 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.80 2008-07-28 18:44:53 phintuka Exp $ * */ @@ -1652,8 +1652,8 @@ static int sxfe_xine_open(frontend_t *this_gen, const char *mrl) { int result = fe_xine_open(this_gen, mrl); -#if defined(FE_STANDALONE) - if(result && !strncmp(mrl, MRL_ID ":", MRL_ID_LEN+1) && strstr(mrl, "//")) { +#ifdef FE_STANDALONE + if(result && !strncmp(mrl, MRL_ID, MRL_ID_LEN) && strstr(mrl, "//")) { sxfe_t *this = (sxfe_t*)this_gen; char *name = NULL, *end; asprintf(&name, "VDR - %s", strstr(mrl, "//")+2); |