VLC 4.x Arm64 will crash while playing the video playback when HW-accelerated Decoding change to D3D9
- We are observing that VLC 4.x Arm64 version is getting crashed when we try to change the HW accelerated decoding to D3D9 while playing the video playback.
- We don’t see similar issue when we change the HW accelerated decoding to D3D11 for VLC 4.x Arm
- we tried connecting the win-debugger to the VLC app with HW accelerated decoding set to D3D9 and when the App crashes, we are seeing there is some access violation from DXA9 and from the stack we can see some license call. Pasting the stack below:
- Further we tried mapping the source code to understand the function where its failing and can see “vout_display_open_cb” is the function it is getting crashed (pasting in the image).
- We tried checking the details of this function and can see that it is typically involved in setting up the display environment, including initializing the necessary resources and configurations for rendering video frames.
- From the initial analysis it looks like the when HW accelerated decoding set to D3D9, there is issue while configuring video frames/display environment/ initialization of resources.
- As a trial we tried to bypass this function by placing the PC to the subsequent instruction (line 849) and can see VLC works fine with D3D9.
Edited by Niranjan k