Jump to content
  • Advertisement


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


DirectShow problems

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

I’m trying to display an avi inside a Direct3D game. Problems start when the game in full screen mode and it tries to display a cut scene. The cut scene sound will always play, but the video image doesn''t always play. I’ve been playing around with, and it seems like the video will always play until the back buffer is flipped the first time, and results after that are sporadic. Any help would be appreciated. Some setup // set the parents window pVW->put_Owner((OAHWND)hwnd); // sets the child window pVW->put_WindowStyle(WS_CHILD | WS_CLIPSIBLINGS); // here we create a RECT in which to draw the child window on RECT vwrect; // get the size of the Parent GetClientRect(hwnd,&vwrect); // set the Child to this position pVW->SetWindowPosition(0,0,vwrect.right,vwrect.bottom);

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!