I've made a custom media player for my Windows store app using SwapChainPanel and IMFMediaEngine. (Basically it's a hybrid of the media engine and swap chain panel examples).
Most of the time everything is fine. But occasionally, the video output will be nothing but a blank green screen, while everything else is fine. No HRESULT failures. All the correct media engine events get fired. Audio even plays. But nonetheless, the screen
is just pure green.
My first thought is that the media engine is having trouble reading the file for some reason, and sending all zero bytes as samples, since YUV(0,0,0) is indeed green. But to give no error at all seems very odd. And it still plays sound, so why would it have
a problem with the video stream (sometimes) and not the audio stream (ever)?
Any other ideas what this could be?
Many thanks in advance for any thoughts or even speculations.
Peter