I originally posted asking about how to loop in direct show, but got no response. I looked more and couldn't find anything useful. Then i figured if i can figure how to SEEK through a video, i can just restart the video like that. But this too, I can't figure out how to do either.
MSDN showed something that i couldn't get my head around for some reason and other places i cant find anything useful.
EDIT: Just one question, do I need to add anything special when running this with direct x? D3D9 to be exact. I've got it working perfectly with seeking and such, but when i run it with D3D9 in debug, there's a flicker, and in release mode you dont see it at all.
It seems to me that direct x is clearing it, and thus it never gets seen, or in debug mode where there's fewer fps, you see a flicker.
i stopped directX from drawing anything and stopped it from clearing the screen, but yet it still flickers. and in release mode i've got it working the same as in debug mode.
my teacher said it is possible to make it draw on top of everything, but he doesn't know how. I know you can draw it in a seperate window and remove the borders to make it look like it's in the window. But i'm actually going to be scrolling the video so that wont work well with the way im scrolling it.