pmt.cpp: fix for stupid fix fix
authorghost <andreas.monzner@multimedia-labs.de>
Sun, 26 Jul 2009 10:09:55 +0000 (12:09 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Sun, 26 Jul 2009 10:09:55 +0000 (12:09 +0200)
lib/dvb/pmt.cpp

index 55ce6d4..dc427aa 100644 (file)
@@ -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