summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Theato <root@ttill.de>2014-05-04 16:53:47 (GMT)
committerTill Theato <root@ttill.de>2014-05-04 16:53:47 (GMT)
commit348ea58ff8c9a7661f7df98f860d9e96c935d6dc (patch)
tree45ee1d176b7065472f470181d26170aa09e9c067
parentbec2524d04877969f1598e125cd9fe2e2cfb9bb1 (diff)
Remove unused function.
-rw-r--r--src/renderer.cpp23
-rw-r--r--src/renderer.h1
2 files changed, 0 insertions, 24 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp
index 9fb23b9..270e1d4 100644
--- a/src/renderer.cpp
+++ b/src/renderer.cpp
@@ -4287,29 +4287,6 @@ void Render::mltDeleteTrack(int ix)
emit refreshDocumentProducers(false, false);
}
-
-void Render::updatePreviewSettings()
-{
- kDebug() << "////// RESTARTING CONSUMER";
- if (!m_mltConsumer || !m_mltProducer) return;
- if (m_mltProducer->get_playtime() == 0) return;
- QMutexLocker locker(&m_mutex);
- Mlt::Service service(m_mltProducer->parent().get_service());
- if (service.type() != tractor_type) return;
-
- //m_mltConsumer->set("refresh", 0);
- if (!m_mltConsumer->is_stopped()) m_mltConsumer->stop();
- m_mltConsumer->purge();
- QString scene = sceneList();
- int pos = 0;
- if (m_mltProducer) {
- pos = m_mltProducer->position();
- }
-
- setSceneList(scene, pos);
-}
-
-
QString Render::updateSceneListFps(double current_fps, double new_fps, const QString &scene)
{
// Update all frame positions to the new fps value
diff --git a/src/renderer.h b/src/renderer.h
index 900ec92..b563f9c 100644
--- a/src/renderer.h
+++ b/src/renderer.h
@@ -294,7 +294,6 @@ class Render: public AbstractRender
int mltChangeClipSpeed(ItemInfo info, ItemInfo speedIndependantInfo, double speed, double oldspeed, int strobe, Mlt::Producer *prod);
const QList <Mlt::Producer *> producersList();
- void updatePreviewSettings();
void setDropFrames(bool show);
/** @brief Sets an MLT consumer property. */
void setConsumerProperty(const QString &name, const QString &value);