decoder/Control: Seek() returns Error information
This commit is contained in:
@@ -605,8 +605,10 @@ Player::SeekDecoder()
|
||||
where = total_time;
|
||||
}
|
||||
|
||||
if (!dc.Seek(where + start_time)) {
|
||||
Error error;
|
||||
if (!dc.Seek(where + start_time, error)) {
|
||||
/* decoder failure */
|
||||
pc.SetError(PlayerError::DECODER, std::move(error));
|
||||
pc.LockCommandFinished();
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user