delphi - DirectShow IVideoWindow and Fullscreen--Can I write to my D3D Primary Surface? -
Write a game, and I should make some cuts in the middle In windowed mode, DirectShow classes work perfectly and use Easy to do. But when the game is fullscreen, I can not get DirectionsShot to show a fullscreen cutinsin.
Actually, when I have a D3 device, I can not even get it to display videos, even with IVDOwondo. Put_Fullscreen (true). I think DirectShow can not just do fullscreen with a D3D device.
So, I tried to release my D3 device, while Cutsin plays and then resumes it again. It works very well, but when DirectShow runs fullscreen, it starts focusing from the main window of my app and does not return it when it is finished. After that, DirectInput fails to retrieve the device later (gives me the "login denied" error code). I tried SetForegroundWindow () before receiving, but it does not fix it, so that after all there is no problem.
Still, the long story short, I want to have a full screen content between all of them, is my D3D app a favorite way to accomplish this? Can I do the DirectShow output by placing it on my D3D primary surface? I think my problems will get better.
You want to create a custom allocation for Video Mixed Renderer 9. By making this your own renderer filter Very easy, and it is specially designed for D3 Interp.
There is an example in Windows SDK installed here:
Comments
Post a Comment