diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-23 12:34:24 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-23 12:34:24 +0100 |
| commit | 7199d3c37e7e7065bd6943702b5864fa5186b9a8 (patch) | |
| tree | 7b14222f36e6c1fe295bdcfeed35ca3fea4b9f38 /lib/dvb | |
| parent | 7a92b402b7b837c1fed5335843dea9573e93050d (diff) | |
| download | enigma2-7199d3c37e7e7065bd6943702b5864fa5186b9a8.tar.gz enigma2-7199d3c37e7e7065bd6943702b5864fa5186b9a8.zip | |
lib/dvb/pmt.cpp: migrate PMT pid search code to new iDataSource stuff
Diffstat (limited to 'lib/dvb')
| -rw-r--r-- | lib/dvb/pmt.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp index 2ca226ae..7b799662 100644 --- a/lib/dvb/pmt.cpp +++ b/lib/dvb/pmt.cpp @@ -710,7 +710,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 { |
