Jump to content
  • Advertisement
Sign in to follow this  

Directshow VMR9 Allocator presenter present image problem

This topic is 2974 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

Hi, I am working with directshow for video playback and to get the video displayed on the texture of slimdx>direct3d9 or a directx9 texture. I am using these two interfaces IVMRSurfaceAllocator9, IVMRImagePresenter9 for getting a surface from the video as soon as a frame is available. Every thing is working fine if I am doing my main loop rendering inside the presentImage function but if I try to do the rendering separately and getting the texture from the presentImage function and then trying to display it in my main loop then a flickering video is being played. I have tried a solution given on this forum only that says that changing rendering target to YUV solves the problem but I did it and is not getting the desired results. Can any one please help me out to resolve this problem.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!