Merge branch 'bug_615_replace_rawfile' into experimental
authorghost <andreas.monzner@multimedia-labs.de>
Fri, 26 Nov 2010 18:12:32 +0000 (19:12 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Fri, 26 Nov 2010 18:12:32 +0000 (19:12 +0100)
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;
 }