UWP MediaPlayerElement in WindowsXamlHost. MFPlat.dll error

0

we are using a UWP MediaPlayerElement added to a WindowsXamlHost Control for a WPF Video Player App. After some time of playing a 0xc0000005 error is thrown by a MFPlat.dll and the App crashed. I found out that the 0xc0000005 exception stands for a memory access violation and the MFPlat.dll is part ob the Windows Media Foundation.

Has anyone ever had such a problem and maybe a solution for that?

https://i.stack.imgur.com/03e3s.png

EDIT: The error comes only when the videos have a 4K/UHD resolution, seemingly.

c#
wpf
uwp
ms-media-foundation
windows-community-toolkit
asked on Stack Overflow Jan 11, 2021 by stf1981 • edited Jan 13, 2021 by stf1981

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0