Menu

EventCode.VMRReconnectionFailed

2009-09-03
2012-10-29
  • Michael Lucero

    Michael Lucero - 2009-09-03

    I'm writing a DVD player using VMR and I get this error : EventCode.VMRReconnectionFailed. Any reason why VMR can't reconnect???

     
    • Eric

      Eric - 2009-09-03

      Do you use a custom allocator / presenter with the VMR9 filter ?
      If yes, your allocator can be the problem...

       
    • Michael Lucero

      Michael Lucero - 2009-09-04

      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?

       
    • Eric

      Eric - 2009-09-07

      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...

       

Log in to post a comment.