lib/dvb/sec.cpp: fix no more working tune to dvb-s2 transponders when the cable is...
authorghost <andreas.monzner@multimedia-labs.de>
Sat, 6 Mar 2010 10:20:10 +0000 (11:20 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Sat, 6 Mar 2010 10:21:28 +0000 (11:21 +0100)
lib/dvb/sec.cpp

index 8b6bc49197a5920c1910af868fa139f48c4ba4ad..0e3e7e0ab1bf03bef65115c75d44f8d275f831da 100644 (file)
@@ -189,6 +189,7 @@ int eDVBSatelliteEquipmentControl::canTune(const eDVBFrontendParametersSatellite
                                                        else
                                                                ret += 10;
                                                }
                                                        else
                                                                ret += 10;
                                                }
+                                               eSecDebugNoSimulate("ret3 %d", ret);
                                        }
                                        else // current fe is dependent of another tuner ... (so this fe can't turn the rotor!)
                                        {
                                        }
                                        else // current fe is dependent of another tuner ... (so this fe can't turn the rotor!)
                                        {
@@ -200,12 +201,8 @@ int eDVBSatelliteEquipmentControl::canTune(const eDVBFrontendParametersSatellite
                                                        ret = 0;
                                                }
                                        }
                                                        ret = 0;
                                                }
                                        }
-                                       eSecDebugNoSimulate("ret3 %d", ret);
+                                       eSecDebugNoSimulate("ret4 %d", ret);
                                }
                                }
-                               else if (!direct_connected)
-                                       ret = 0;
-
-                               eSecDebugNoSimulate("ret4 %d", ret);
 
                                if (ret && rotor && rotor_pos != -1)
                                        ret -= abs(rotor_pos-sat.orbital_position);
 
                                if (ret && rotor && rotor_pos != -1)
                                        ret -= abs(rotor_pos-sat.orbital_position);