Skip to content

Commit f2480a3

Browse files
committed
Revert "Hackfix for hang: do not stop consumer, it freezes the app"
This reverts commit 3d2d222.
1 parent 92a34bf commit f2480a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mltcontroller.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ void Controller::play(double speed)
195195
m_consumer->set("buffer", 25);
196196
m_consumer->set("prefill", 1);
197197
// Changes to real_time require a consumer restart if running.
198-
/* if (!m_consumer->is_stopped()) */
199-
/* m_consumer->stop(); */
198+
if (!m_consumer->is_stopped())
199+
m_consumer->stop();
200200
}
201201
m_consumer->start();
202202
refreshConsumer();

0 commit comments

Comments
 (0)