Quote:
Originally Posted by nevcairiel
Its the only way. In FSE Mode you cannot create a new device, you have to use the one the EVR gives you.
|
Thanks.
Can you point me to the relevant reading material? I didn't see this anywhere.
Update:
I was referred to this article:
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
Basically this mean I can create a device when these conditions are met:
* They are created by the same Direct3D object that created the device that is full-screen.
* They have the same focus window as the device that is full-screen.
* They represent a different adapter from any full-screen device.
So nevcairiel is right
. I need to postpone decoder initialization after the graph is connected which is a little ugly for current use cases and requires a shotgun surgery in ffdshow's code. Future use cases (output DXVA samples) will enjoy this design change as I'll be able to know how many surfaces are queued in the renderer.