VMR9Allocator (DirectShow .NET + SlimDX)
Posted
by
faulty
on Stack Overflow
See other posts from Stack Overflow
or by faulty
Published on 2008-11-21T05:07:14Z
Indexed on
2012/11/18
5:00 UTC
Read the original article
Hit count: 272
I was trying to convert and run the VMR9Allocator sample for DirectShow .NET with SlimDX instead of MDX. I got an exception when it reach this line
return vmrSurfaceAllocatorNotify.SetD3DDevice(unmanagedDevice, hMonitor)
In the AdviseNotify method in Allocator.cs.
The exception is "No such interface supported", and the hr return was "0x80004002".
The sample runs fine with MDX, and my SlimDx is also working, as I've written another 3d apps using it, working fine.
I can't seems to find out what went wrong, no help from googling as well. Apparently not much ppl uses this combination, and non that i can find actually stumble into this problem.
Any idea guys?
NOTE: I've asked the same question over at gamedev.net 2 weeks back, no answer thus far.
© Stack Overflow or respective owner