From: ghost Date: Fri, 26 Nov 2010 18:12:13 +0000 (+0100) Subject: dvb/tstools.cpp: fix openFile without streaminfo X-Git-Tag: master-2010.12^2 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/d7ab8980f447224e6ece5d741dd9a334949ca315?ds=sidebyside 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 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; }