From: ghost Date: Tue, 23 Nov 2010 11:34:24 +0000 (+0100) Subject: lib/dvb/pmt.cpp: migrate PMT pid search code to new iDataSource stuff X-Git-Tag: master-2010.12^2~2 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/7199d3c37e7e7065bd6943702b5864fa5186b9a8 lib/dvb/pmt.cpp: migrate PMT pid search code to new iDataSource stuff --- 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 {