mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1105553 - Handle 'CANCELLED' NotDecodedReason in MediaSourceReader. r=ajones
This commit is contained in:
parent
b86193d2fa
commit
6f8543ba2b
@ -180,7 +180,8 @@ void
|
||||
MediaSourceReader::OnNotDecoded(MediaData::Type aType, RequestSampleCallback::NotDecodedReason aReason)
|
||||
{
|
||||
MSE_DEBUG("MediaSourceReader(%p)::OnNotDecoded aType=%u aReason=%u IsEnded: %d", this, aType, aReason, IsEnded());
|
||||
if (aReason == RequestSampleCallback::DECODE_ERROR) {
|
||||
if (aReason == RequestSampleCallback::DECODE_ERROR ||
|
||||
aReason == RequestSampleCallback::CANCELED) {
|
||||
GetCallback()->OnNotDecoded(aType, aReason);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user