Re-enable audio playback on reverse speed

Fixes #887
parent 6a4be058
......@@ -1608,7 +1608,7 @@ void GLWidget::switchPlay(bool play, double speed)
}
double current_speed = m_producer->get_speed();
m_producer->set_speed(speed);
if (speed <= 1. || speed > 6.) {
if (qFuzzyCompare(speed, 1.0) || speed < -6. || speed > 6.) {
m_consumer->set("scrub_audio", 0);
} else {
m_consumer->set("scrub_audio", 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment