Closed HHaoWang closed 1 year ago
Don't worry, this is just a "first-chance exception". That means an exception is thrown internally, but we catch that exception, so your app runs fine. Our current lib is mainly a UWP build. It does run on WinUI as well, but it is not a true WinUI build. What you see is this: We try to get get the display's HDR capabilities using UWP APIs, but that call fails on WinUI. So we will not output HDR image when using the current lib on WinUI.
You can just use the checkboxes below the error message to ignore it. We are working on full WInUI support. This will come in the next major version 2.0, maybe by end of the year (no promises though).
I got and thanks for your works😀
I'm using winui3 and Windows.Storage.StorageFile to open a local media file and then put it into mediaPlayerBackItem by using FFmpegMediaSource.CreateMediaPlaybackItem. Everything is OK except it will throw an exception as showing below: And VS output this:
After I click the continue button in VS, program will works well just like noting happens. It seems that I'm using it in ViewModel related to a page and it can not get current view. But if that why I can continue run it and it works well? Please help me, thanks!