Quantcast
Viewing all articles
Browse latest Browse all 1079

Provide IDirect3DDeviceManager9 from Custom Media Sink

I am writing a custom media sink to render video to a device, following the example of the WavSink.

Now how to proceed if I want to use DirectX surfaces for carrying video frame samples? As far as I know, the EVR renderer is usually providing IDirect3DDeviceManager9 interface, which is assigned to the MFTs by the topology loader.

Since I am not rendering on EVR, but on my sink instead, how can I create such IDirect3DDeviceManager9 instance to provide to the topology loader?

Does anyone know articles or resources describing such scenario?

Thanks for any help.


Viewing all articles
Browse latest Browse all 1079

Trending Articles