summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-06-17 16:23:57 +0000
committerphintuka <phintuka>2008-06-17 16:23:57 +0000
commit55a47f7fc2f8d70fb1d98c6c2d7e591c51ca1e57 (patch)
treec3d6f8719e9146378b7b9da0f70d94656a5423a5
parent4e01154613360372ab80536326899d0f35b8cab1 (diff)
downloadxineliboutput-55a47f7fc2f8d70fb1d98c6c2d7e591c51ca1e57.tar.gz
xineliboutput-55a47f7fc2f8d70fb1d98c6c2d7e591c51ca1e57.tar.bz2
Replace xvdr with MRL_ID define
No need to update title if open failed
-rw-r--r--xine_sxfe_frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index 11ff03de..0b739cdd 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.64 2008-06-17 16:12:23 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.65 2008-06-17 16:23:57 phintuka Exp $
*
*/
@@ -1571,7 +1571,7 @@ 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(!strncmp(mrl, "xvdr:", 5) && strstr(mrl, "//")) {
+ if(result && !strncmp(mrl, MRL_ID ":", MRL_ID_LEN+1) && strstr(mrl, "//")) {
sxfe_t *this = (sxfe_t*)this_gen;
char *name = NULL, *end;
asprintf(&name, "VDR - %s", strstr(mrl, "//")+2);