From: ghost Date: Fri, 26 Nov 2010 18:12:13 +0000 (+0100) Subject: dvb/tstools.cpp: fix openFile without streaminfo X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=d7ab8980f447224e6ece5d741dd9a334949ca315 dvb/tstools.cpp: fix openFile without streaminfo this fixes slow movielist refs #615 --- diff --git a/lib/dvb/tstools.cpp b/lib/dvb/tstools.cpp index cfea3fd..1403059 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; }