mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-17 13:19:59 +01:00
BugFix Loading Timeline of MediaPlayer
This commit is contained in:
@@ -1164,10 +1164,8 @@ void MediaPlayer::update()
|
||||
if (media_.valid) {
|
||||
if (!media_.log.empty())
|
||||
Log::Info("'%s' : %s", uri().c_str(), media_.log.c_str());
|
||||
if (!media_.isimage) {
|
||||
timeline_.setEnd( media_.end );
|
||||
timeline_.setStep( media_.dt );
|
||||
}
|
||||
if (!media_.isimage)
|
||||
timeline_.setTiming( TimeInterval(0, media_.end), media_.dt);
|
||||
execute_open();
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user