aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/pmt.cpp')
-rw-r--r--lib/dvb/pmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp
index 55ce6d49..dc427aa1 100644
--- a/lib/dvb/pmt.cpp
+++ b/lib/dvb/pmt.cpp
@@ -461,7 +461,7 @@ int eDVBServicePMTHandler::getProgramInfo(struct program &program)
default:
break;
}
- if (isteletext != -1 && (isaudio || isvideo))
+ if (isteletext && (isaudio || isvideo))
{
eDebug("ambiguous streamtype for PID %04x detected.. forced as teletext!", (*es)->getPid());
continue; // continue with next PID