mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-05 15:30:00 +01:00
Reset media playback speed to normal before applying play speed callback
This commit is contained in:
@@ -1157,7 +1157,9 @@ void SessionLoader::visit (MediaSource& s)
|
||||
s.mediaplayer()->accept(*this);
|
||||
|
||||
// add a callback to activate play speed
|
||||
s.call( new PlaySpeed( s.mediaplayer()->playSpeed() ) );
|
||||
double r = s.mediaplayer()->playSpeed();
|
||||
s.mediaplayer()->setRate(1.0); // reset to normal speed
|
||||
s.call( new PlaySpeed( r, 100 ) );
|
||||
}
|
||||
|
||||
void SessionLoader::visit (SessionFileSource& s)
|
||||
|
||||
Reference in New Issue
Block a user