Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

How do you REALLY use the EVR Media Sink?

$
0
0

I want to display a sequence of IMFSample to a window on my computer screen.  I believe I should use the EVR.

The "Using the EVR Media Sink" page (http://msdn.microsoft.com/en-us/library/aa965265(v=vs.85).aspx) says I can use the EVR stand-alone.  It says to use MFCreateVideoRenderer() to create a media sink.  

However, the doc for MFCreateVideoRenderer() gives insufficient advice about the first parameter, the REFIID riidRenderer.  No matter what I try to put into there, I get E_NOINTERFACE.

What should I provide for the first parameter to MFCreateVideoRenderer()?

Or else, how can I display my sequence of IMFSamples to my computer screen?  I am *not* using a Media Session. 


Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>