summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Theato <root@ttill.de>2014-05-04 17:39:02 (GMT)
committerTill Theato <root@ttill.de>2014-05-04 17:39:02 (GMT)
commit272530d555251c86e360975156dfc6feacb9431a (patch)
tree79c5db46933e8d7e2c72ebba7ff6cfd1585ef949
parentdb8a876d45903b2d720e17ec83b6b6b4306effa4 (diff)
Remove unused function from Render.
-rw-r--r--src/renderer.cpp10
-rw-r--r--src/renderer.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp
index ab7b615..eac453f 100644
--- a/src/renderer.cpp
+++ b/src/renderer.cpp
@@ -1789,16 +1789,6 @@ void Render::slotCheckSeeking()
}
}
-void Render::disablePreview(bool disable)
-{
- if (m_mltConsumer) {
- m_mltConsumer->stop();
- m_mltConsumer->set("preview_off", (int) disable);
- m_mltConsumer->set("refresh", 0);
- m_mltConsumer->start();
- }
-}
-
void Render::showAudio(Mlt::Frame& frame)
{
if (!frame.is_valid() || frame.get_int("test_audio") != 0) {
diff --git a/src/renderer.h b/src/renderer.h
index facb87b..1b9b581 100644
--- a/src/renderer.h
+++ b/src/renderer.h
@@ -327,8 +327,6 @@ class Render: public AbstractRender
/** @brief Fill a combobox with the found blackmagic devices */
static bool getBlackMagicDeviceList(KComboBox *devicelist, bool force = false);
static bool getBlackMagicOutputDeviceList(KComboBox *devicelist, bool force = false);
- /** @brief Frame rendering is handeled by Kdenlive, don't show video through SDL display */
- void disablePreview(bool disable);
/** @brief Get current seek pos requested of SEEK_INACTIVE if we are not currently seeking */
int requestedSeekPosition;
/** @brief Get current seek pos requested of current producer pos if not seeking */