mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 10:49:59 +01:00
Bugfix: update depth of sources from dropped media file
To be investigated further if problem persists: patch seems to work (increment twice View::need_deep_update_) but not fully sure why two frames are necessary...
This commit is contained in:
@@ -118,8 +118,8 @@ void MediaSource::init()
|
||||
// force update of activation mode
|
||||
active_ = true;
|
||||
|
||||
// deep update to reorder
|
||||
++View::need_deep_update_;
|
||||
// deep update to reorder (two frames to give time to insert)
|
||||
View::need_deep_update_ += 2;
|
||||
|
||||
// done init
|
||||
Log::Info("Source '%s' linked to Media %s.", name().c_str(), std::to_string(mediaplayer_->id()).c_str());
|
||||
|
||||
Reference in New Issue
Block a user