Skip to content

Commit

Permalink
Revert "Hackfix for hang: do not stop consumer, it freezes the app"
Browse files Browse the repository at this point in the history
This reverts commit 3d2d222.
  • Loading branch information
ddennedy committed May 2, 2015
1 parent 92a34bf commit f2480a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mltcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ void Controller::play(double speed)
m_consumer->set("buffer", 25);
m_consumer->set("prefill", 1);
// Changes to real_time require a consumer restart if running.
/* if (!m_consumer->is_stopped()) */
/* m_consumer->stop(); */
if (!m_consumer->is_stopped())
m_consumer->stop();
}
m_consumer->start();
refreshConsumer();
Expand Down

0 comments on commit f2480a3

Please sign in to comment.