aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-05-25 22:17:31 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-05-25 22:17:31 +0000
commit6d1067265b1af3a20117767d81ebc73309a15c18 (patch)
tree4b4df3fb4234dba8fa9390de770517f83c356075 /lib
parente8430769e8cd5079428d7614cd76abc3efbc03ef (diff)
downloadenigma2-6d1067265b1af3a20117767d81ebc73309a15c18.tar.gz
enigma2-6d1067265b1af3a20117767d81ebc73309a15c18.zip
try to find a valid pmt pid in ts file when the service id in recordins.epl
or meta file is nil
Diffstat (limited to 'lib')
-rw-r--r--lib/dvb/pmt.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp
index e7094200..255b8765 100644
--- a/lib/dvb/pmt.cpp
+++ b/lib/dvb/pmt.cpp
@@ -496,8 +496,9 @@ int eDVBServicePMTHandler::tune(eServiceReferenceDVB &ref, int use_decode_demux,
} else
{
eDVBMetaParser parser;
-
- if (parser.parseFile(ref.path))
+
+ int ret=parser.parseFile(ref.path);
+ if (ret || !parser.m_ref.getServiceID().get() /* incorrect sid in meta file or recordings.epl*/ )
{
eWarning("no .meta file found, trying to find PMT pid");
eDVBTSTools tstools;