Hi,
I uploaded my source code to my blog at
http://www.ostrogothia.com/?page_id=405 if you want to check it out. You can
find the code for resetting devices etc in the SyncVMR9 project in the
Allocator.cpp file, method CAllocator::ResetDevice. I now remember that you
have to release the *pins* of the VMR9 before reset and then reconnect them
again. I think you will recognize a lot in the source as it was started as a
tweak to the AllocatorPresenter demo project. I think it is possible under
some circumstances to recreate the device w/o releasing the pins but sooner
or later you run into trouble and you also end up leaking memory.
Are you sure that you need to run in exclusive mode? Fullscreen in
non-exclusive mode is much easier to handle because you don't need to
re-create the device. I did get much more fluid video in exclusive mode
though through better timing of the Present method.
Read more about the GothPlayer project on the blog pages.
Pls also note that I'm really an amateur programmer. I haven't written a
commercial line of code since 1989 :-) So there might be a few
"unconventional" solutions in the code. I don't think it leaks any memory
though.
Please let me know if you find anything useful in the source.
Cheers!
Arto
"Doctor Bonzo" wrote: