Fixed initialization of source and of SessionSource; sources are ready

after full initialization and in standly. A new button allows playing
the source (media or session) in the new source pannel.
This commit is contained in:
brunoherbelin
2020-07-19 19:03:49 +02:00
parent 71a3de644d
commit d916bb5706
11 changed files with 108 additions and 59 deletions

View File

@@ -119,7 +119,8 @@ void MediaSource::update(float dt)
Source::update(dt);
// update video
mediaplayer_->update();
if (active_)
mediaplayer_->update();
}
void MediaSource::render()