Daniel Kristjansson wrote:
Can you try the latest code?

Err... Don't you mean to do something like this (Not a proper patch - There's some other non-related cruft in my dvbchannel.cpp) :

@@ -689,11 +785,12 @@
 {
     fe_status_t status;

     usleep(2000); // yield for 2 ms
     ioctl(fd, FE_READ_STATUS, &status);
     VERBOSE(VB_CHANNEL, toString(status));
-
-    return true;
+    if (status&&FE_HAS_LOCK)
+       return true;
+    return false;
 }

 /** \fn handle_diseq(int, const DVBTuning&, DVBDiSEqC*, bool)
@@ -725,7 +822,8 @@
                   "Setting Frontend tuning parameters failed.");
             return false;
         }
-        wait_for_backend(fd_frontend);
+        if (wait_for_backend(fd_frontend))
+            havetuned=true;
     }

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to