summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Theato <root@ttill.de>2014-05-04 16:53:47 (GMT)
committerVincent PINON <vincent.pinon@laposte.net>2014-05-04 22:19:47 (GMT)
commit6335d463702a48305d0b5b62fd4ba7c61d316e30 (patch)
treec500650bff46159d39f7d0b5e42c754b20ce8d69
parent165ec8eecbb3f5c69586933da9c03d21ac9086db (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 86d96b6..d685601 100644
--- a/src/renderer.cpp
+++ b/src/renderer.cpp
@@ -4364,29 +4364,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 4f40a8c..7cae2b8 100644
--- a/src/renderer.h
+++ b/src/renderer.h
@@ -295,7 +295,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);