Skip to main content
GameDev.net gamedev.net
🔒 Locked

DirectShow problems

Started by BovineFury Jan 21, 2003 at 12:38 AM 0 replies 900+ views
Original Post
BovineFury
BovineFury
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);

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.