• Advertisement

Archived

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

DirectShow Texture3D sample question

This topic is 5588 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement