yes, i'm using a custom allocator / presenter. i basically copied the allocator off the samples, any ideas what exactly the problem is? can you point me out in the right direction?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Generally, the VMR filters accepts any reasonable video media types when they are connected to an upstream filter. Then (i can remember is it is right after the connection or just after the graph starts) the VMR reconnect its pin to negotiate a better media type.
So your allocator must handle this reconnection. In particular IVMRSurfaceAllocator9::InitializeDevice that can be called multiple times.
You should put some break points or debug traces in your allocator code to check that...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm writing a DVD player using VMR and I get this error : EventCode.VMRReconnectionFailed. Any reason why VMR can't reconnect???
Do you use a custom allocator / presenter with the VMR9 filter ?
If yes, your allocator can be the problem...
yes, i'm using a custom allocator / presenter. i basically copied the allocator off the samples, any ideas what exactly the problem is? can you point me out in the right direction?
Generally, the VMR filters accepts any reasonable video media types when they are connected to an upstream filter. Then (i can remember is it is right after the connection or just after the graph starts) the VMR reconnect its pin to negotiate a better media type.
So your allocator must handle this reconnection. In particular IVMRSurfaceAllocator9::InitializeDevice that can be called multiple times.
You should put some break points or debug traces in your allocator code to check that...