Archived

This topic is now archived and is closed to further replies.

pearsoe

DirectShow Texture3D sample question

Recommended Posts

pearsoe    122
In the Texture3D sample, I''m a little confused, how exactly are the functions SetMediaType and DoRenderSample called? The only references I see to them are when they are defined, I don''t see how they are executed.

Share this post


Link to post
Share on other sites
pearsoe    122
I think I found the answer, you just have to follow the inheritance back from CTextureRenderer -> CBaseVideoRenderer -> CBaseRenderer where there are virtual function definitions for SetMediaType and DoRenderSample. These functions seem to be executed automatically after the pin connections are made.

Share this post


Link to post
Share on other sites