mirror of
https://github.com/brunoherbelin/vimix.git
synced 2026-01-05 22:45:28 +01:00
Introducing multiple levels of Source Failure
This allows Mixer manager to deal with failed sources with the appropriate action: try to repair, leave for user to recreate, or delete.
This commit is contained in:
@@ -78,9 +78,9 @@ std::string MediaSource::info() const
|
||||
return "Video File";
|
||||
}
|
||||
|
||||
bool MediaSource::failed() const
|
||||
Source::Failure MediaSource::failed() const
|
||||
{
|
||||
return mediaplayer_->failed();
|
||||
return mediaplayer_->failed() ? FAIL_CRITICAL : FAIL_NONE;
|
||||
}
|
||||
|
||||
uint MediaSource::texture() const
|
||||
|
||||
Reference in New Issue
Block a user