From d7ab8980f447224e6ece5d741dd9a334949ca315 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 26 Nov 2010 19:12:13 +0100 Subject: [PATCH] dvb/tstools.cpp: fix openFile without streaminfo this fixes slow movielist refs #615 --- lib/dvb/tstools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dvb/tstools.cpp b/lib/dvb/tstools.cpp index cfea3fdd..1403059f 100644 --- a/lib/dvb/tstools.cpp +++ b/lib/dvb/tstools.cpp @@ -40,7 +40,7 @@ int eDVBTSTools::openFile(const char *filename, int nostreaminfo) if (f->open(filename, 1) < 0) return -1; - setSource(src, filename); + setSource(src, nostreaminfo ? NULL : filename); return 0; } -- 2.30.2