I am creating a direct3D surface for further creation of OffScreenplainSurface for video sample.
And This Code was working fine before Windows10 Update.
After Update, I found that IDirect3DSurface not returning the right D3DSURFACE_DESC.format which I am using to createOffScreenPlainSurface.
Here is the Code
MFGetService(mediaBuffer, MR_BUFFER_SERVICE, __uuidof(IDirect3DSurface9), (void**)&sampleSurface);
HANDLE shareHandleSurface = 0;
Now, after windows10 Update surfaceDesc.format = 842094158 not the D3DFMT_YUY2
And I realized that sometimes after restart of Machine, it returns D3DFMT_YUY2 which looks like some services in windows10 update obstructing MFGetService.
I found one service sppsvc which automatic delayed start and Trigger start but I am not able to get much of it.
Any Help will be Appreciated.