Switch MediaDecoderReader subclasses to use OnTaskQueue()

This commit is contained in:
trav90
2017-02-08 03:11:22 -06:00
committed by roytam1
parent da73c16e6e
commit ebcfbba4b6
15 changed files with 64 additions and 69 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ IntelWebMVideoDecoder::DecodeVideoFrame(bool& aKeyframeSkip,
NS_ENSURE_SUCCESS(rv, false);
}
NS_ASSERTION(mReader->GetDecoder()->OnDecodeThread(), "Should be on decode thread.");
MOZ_ASSERT(mReader->OnTaskQueue());
bool rv = Decode();
{
// Report the number of "decoded" frames as the difference in the