fix inadvertent breakage in ardev and friends caused by extension to LD_LIBRARY_PATH...
[ardour.git] / gtk2_ardour / video_monitor.cc
index 238845fb2fd1d4dc1ea445ad8e52cc9e5cefde26..c04d9bde3599cf603347745585cf93126a5f9598 100644 (file)
@@ -94,7 +94,7 @@ VideoMonitor::query_full_state (bool wait)
        process->write_to_stdin("get osdcfg\n");
        int timeout = 40;
        if (wait && knownstate !=127 && --timeout) {
-               usleep(50000);
+               Glib::usleep(50000);
                sched_yield();
        }
 }
@@ -113,7 +113,7 @@ VideoMonitor::quit ()
         */
        int timeout = 40;
        while (is_started() && --timeout) {
-               usleep(50000);
+               Glib::usleep(50000);
                sched_yield();
        }
        if (timeout <= 0) {