davidhu
07-21-2008, 05:52 PM
I'm having a issue with the IDVDControl2 Interface in my DVD Player application. I've run the VMR9 in Windowless mode, and everything worked fine.
but i call follow method ,it will throws exceptions(OS is XP, DS is 9.0C):
SelectAtPosition
ActivateAtPosition
Every other IDVDControl2 call works fine it seems. but it will throw exceptions when run it in mouse message function.
I've checked that Renderless mode runs the rendering loop on a seperate thread, so it shouldn't be threading related.
I've also tried giving it any coordinate set of 10,12(in SelectAtPosition) in case something went wrong with the coordinates - didn't change a thing.
I have implemented new VMR Allocator, and that class have inplemented IVMRSurfaceAllocator9,IVMRImagePresenter9, IVMRImageCompositor9.
it always run there and throws exceptions from it, but I have no idea about it
I thanks in advance for any help you can give!
davidhu
but i call follow method ,it will throws exceptions(OS is XP, DS is 9.0C):
SelectAtPosition
ActivateAtPosition
Every other IDVDControl2 call works fine it seems. but it will throw exceptions when run it in mouse message function.
I've checked that Renderless mode runs the rendering loop on a seperate thread, so it shouldn't be threading related.
I've also tried giving it any coordinate set of 10,12(in SelectAtPosition) in case something went wrong with the coordinates - didn't change a thing.
I have implemented new VMR Allocator, and that class have inplemented IVMRSurfaceAllocator9,IVMRImagePresenter9, IVMRImageCompositor9.
it always run there and throws exceptions from it, but I have no idea about it
I thanks in advance for any help you can give!
davidhu