Merge branch 'bug_615_replace_rawfile' into experimental
[vuplus_dvbapp] / lib / dvb / tstools.cpp
index 717ccfc..3dff288 100644 (file)
@@ -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;
 }