D3D9DXVA2Manager::SupportsConfig uses output type for testing decoder instantiation, which does not match Microsoft documentation.
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: Zaggy1024, Assigned: Zaggy1024)
References
Details
Attachments
(1 file)
In D3D9DXVA2Manager::SupportsConfig, it passes the output type to ConvertMFTypeToDXVAType, which is incorrect according to Microsoft documentation:
// Fills in a DXVA2_VideoDesc structure based on the input format.
void FillInVideoDescription(DXVA2_VideoDesc *pDesc);
We should change SupportsConfig to be consistent with this documentation. The output media type from WMFVideoMFTManager does not have MF_MT_FRAME_RATE set, so it should either be set in WMFVideoMFTManager::SetDecoderMediaTypes(), or a placeholder/approximation should be used in SupportsConfig.
Improved the debug description of WMF video decoders to list the DXVA version used as well as the correct output type.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Backed out for causing gl failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/977e4100a0776400293e3237691b614b6bcaa131
Failure log:
Re-landing with a fix, it looks like there was a null reference in debug logging.
Comment 6•3 years ago
|
||
bugherder |
Description
•