Merge branch 'bug_615_replace_rawfile' into experimental
authorghost <andreas.monzner@multimedia-labs.de>
Tue, 23 Nov 2010 12:58:06 +0000 (13:58 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 23 Nov 2010 12:58:06 +0000 (13:58 +0100)
lib/dvb/pmt.cpp

index c6e03c2..5fdd69d 100644 (file)
@@ -733,7 +733,9 @@ int eDVBServicePMTHandler::tuneExt(eServiceReferenceDVB &ref, int use_decode_dem
                {
                        eWarning("no .meta file found, trying to find PMT pid");
                        eDVBTSTools tstools;
-                       if (tstools.openFile(ref.path.c_str()))
+                       if (source)
+                               tstools.setSource(source, streaminfo_file ? streaminfo_file : ref.path.c_str());
+                       else if (tstools.openFile(ref.path.c_str()))
                                eWarning("failed to open file");
                        else
                        {