clsid2 / mpc-hc

Media Player Classic
GNU General Public License v3.0
10.97k stars 491 forks source link

MPC Audio Renderer fails to bitstream after switching to HDR mode #3087

Open MistarMuffin opened 2 hours ago

MistarMuffin commented 2 hours ago

Switching Windows 11 to HDR mode interrupts audio when using MPC Audio Renderer + bitstreaming from LAV. Audio can be restored by switching audio tracks within the file or by changing any setting in the MPC AR settings. This seems to reinitialize things.

I am not enabling Windows 11 HDR manually during playback but did confirm the issue by doing this. I am using the MPC Video Renderer -> HDR Passthrough to display -> Windows HDR -> All turn on/off settings.

Steps to duplicate:

1) Windows set to SDR 2) LAV Audio set to bitstream 3) MPC VR set to turn on Windows HDR and passthrough metadata 4) Open HDR video 5) Screen flashes while HDR mode is enabled.

Result: Video plays in HDR but with no audio. Audio can be reinitialized by changing track within file.

I tested with SaneAR and audio bitstreaming continues after HDR is toggled.

I am using an NVIDIA RTX 3080 on Driver 560.70 with Windows 11 23H2 connected to a Denon AVR. Let me know if I can provide any more information.

Thank you.

clsid2 commented 2 hours ago

@Aleksoid1978 Maybe try to re-init one time automatically after a device is lost?

Aleksoid1978 commented 8 minutes ago

At the moment I don't have an A/V receiver connected and I can't test this case.