Assertion failure: mStreamType != StreamType::Unknown, at /Users/haftandilian/r/mc/dom/media/platforms/apple/AppleVTDecoder.cpp:78
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: haik, Assigned: jya)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
On a debug macOS Nightly build, running on macOS 11 Beta 4 (20A5343i), attempting to visit youtube.com results in the following ASSERT crash:
Assertion failure: mStreamType != StreamType::Unknown, at dom/media/platforms/apple/AppleVTDecoder.cpp:78
which was added for bug 1657521. Abbreviated stack:
Assertion failure: mStreamType != StreamType::Unknown, at /Users/haftandilian/r/mc/dom/media/platforms/apple/AppleVTDecoder.cpp:78
#01: mozilla::AppleVTDecoder::AppleVTDecoder(mozilla::VideoInfo const&, mozilla::layers::ImageContainer*, mozilla::EnumSet<mozilla::CreateDecoderParams::Option, unsigned int>, mozilla::layers::KnowsCompositor*)[/Users/haftandilian/r/mc/obj-dbg.noindex/toolkit/library/build/XUL +0x60c1898]
#02: mozilla::AppleVTDecoder::AppleVTDecoder(mozilla::VideoInfo const&, mozilla::layers::ImageContainer*, mozilla::EnumSet<mozilla::CreateDecoderParams::Option, unsigned int>, mozilla::layers::KnowsCompositor*)[/Users/haftandilian/r/mc/obj-dbg.noindex/toolkit/library/build/XUL +0x60c1b7d]
#03: mozilla::AppleDecoderModule::CanCreateVP9Decoder()[/Users/haftandilian/r/mc/obj-dbg.noindex/toolkit/library/build/XUL +0x608dba2]
#04: mozilla::AppleDecoderModule::Init()[/Users/haftandilian/r/mc/obj-dbg.noindex/toolkit/library/build/XUL +0x608d9a4]
#05: mozilla::PDMFactoryImpl::PDMFactoryImpl()[/Users/haftandilian/r/mc/obj-dbg.noindex/toolkit/library/build/XUL +0x6091301]
#06: mozilla::PDMFactoryImpl::PDMFactoryImpl()[/Users/haftandilian/r/mc/obj-dbg.noindex/toolkit/library/build/XUL +0x60911b5]
#07: mozilla::PDMFactory::EnsureInit()::$_7::operator()() const[/Users/haftandilian/r/mc/obj-dbg.noindex/toolkit/library/build/XUL +0x6073432]
$ hg parent
changeset: 545065:aa98a6ece5fb
user: Jean-Yves Avenard <jyavenard@mozilla.com>
date: Mon Aug 17 22:40:47 2020 +0000
summary: Bug 1659015 - P4. Backport AVIF dav1d colorspace changes to DAV1DDecoder. r=jbauman
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
What mStreamType value would that be?
Do you have a link to the actual video?
The AppleVTDecoder should only ever be called for VP9 (if hardware decoding is supported) or H264 , it can't handle anything else.
Assignee | ||
Comment 2•5 years ago
|
||
oops, never mind.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Reporter | ||
Comment 4•5 years ago
•
|
||
@jya, thanks for the quick fix. Are we missing a test case for this or is it just that this feature requires 10.15 and that is not available on automation? I expect we will have 10.15 soon to support testing on ARM-based Macs. -- (Edit: I meant 11.0 here, not 10.15.)
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Haik Aftandilian [:haik] from comment #4)
@jya, thanks for the quick fix. Are we missing a test case for this or is it just that this feature requires 10.15 and that is not available on automation? I expect we will have 10.15 soon to support testing on ARM-based Macs.
this will indeed require macOS 11 beta 4 (not available in earlier beta). The symbol VTRegisterSupplementalVideoDecoderIfAvailable can only be resolved there.
Comment 7•5 years ago
|
||
bugherder |
Description
•