I've build a player using libvlc.dll using C++. Running the player from the hard drive generally doesn't have major issues. However running from a small thumbdrive or DVD (with plugins on the thumbdrive/DVD) results in an access violation right after starting to play. Below is output captured while trying to catch what was going on with a debugger. I"ve used FileMon and ProcMon to try to see if there were any obvious external errors and I don't see any.
'sampler.exe': Loaded 'C:\WINDOWS\system32\ksuser.dll'
First-chance exception at 0x6a59d90b in sampler.exe: 0xC0000005: Access violation reading location 0x00000078.
First-chance exception at 0x00000000 in sampler.exe: 0xC0000005: Access violation reading location 0x00000000.
This occurs with XP and Vista.
File type makes no difference.
This issue doesn't occur with 9.9a & previous versions. (I'm thinking of rolling back however 1.0.1 actually stops and starts on a dime which is really nice!)
Below is how I set up vlc. Similar to the sample here on the site.
Code: Select all
const char * const vlc_args[] = {
"-I",
"dummy",
"--no-plugins-cache",
"--no-one-instance",
"--no-stats",
"--no-media-library",
"--ignore-config",
"--no-video-title-show",
"--plugin-path=\\plugins" };
libvlc_exception_init (&ex);
m_pVlcInstance = libvlc_new (sizeof(vlc_args) / sizeof(vlc_args[0]), vlc_args, &ex);
VLCCATCH(&ex);
Thanks,
ed