Note that newer libsub version is required.
[dcpomatic.git] / src / wx / job_view.cc
index b98555e8a2b71f519c71c99a7e9a7f12801aa1df..efe17f4deba2a01c1939f9764464c5fa8b021cba 100644 (file)
@@ -107,7 +107,7 @@ JobView::maybe_pulse ()
 {
        if (_gauge && _job->running()) {
                auto elapsed = _job->seconds_since_last_progress_update();
-               if (!_job->progress() || !elapsed || *elapsed > 2) {
+               if (!_job->progress() || !elapsed || *elapsed > 4) {
                        _gauge->Pulse ();
                }
        }
@@ -125,6 +125,9 @@ JobView::progress ()
        /* Watch out for < > in the error string */
        boost::algorithm::replace_all (s, "<", "&lt;");
        boost::algorithm::replace_all (s, ">", "&gt;");
+#ifdef DCPOMATIC_LINUX
+       boost::algorithm::replace_all(s, "_", "__");
+#endif
        whole += s;
        if (whole != _last_message) {
                _message->SetLabelMarkup (std_to_wx (whole));