]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.cpp
take care of not initialised recmonitor (OSX)
[kdenlive] / src / mainwindow.cpp
index 85e5707fe858db0ee43ffdc50fafbaa664ca8c53..149325bb76834cfa00154850df21cb5fc5a65697 100644 (file)
@@ -4173,11 +4173,13 @@ void MainWindow::slotDoUpdateGfxScopeFrameRequest()
             m_projectMonitor->render->sendFrameForAnalysis = false;
         }
         m_clipMonitor->render->sendFrameForAnalysis = false;
-        m_recMonitor->analyseFrames(false);
+        if (m_recMonitor)
+            m_recMonitor->analyseFrames(false);
     } else {
         m_projectMonitor->render->sendFrameForAnalysis = true;
         m_clipMonitor->render->sendFrameForAnalysis = true;
-        m_recMonitor->analyseFrames(true);
+        if (m_recMonitor)
+            m_recMonitor->analyseFrames(true);
     }
 }