Page 1 of 1

VLC_Init causes application to hang when running w/ Debugger

Posted: 07 Feb 2007 19:21
by hogi82
Hi!

Thx to Paul i'm now able to load VLC directly into Delphi without ActiveX, but with the API.

The funny thing is: when calling

Code: Select all

call('VLC_Init',VLC_Init(vlc,1,@args[0]));
while my Debugger (Delphi) is running, my Application hangs and won't continue.

Running the same File directly as compiled .exe works perfect without any Problem.

Any ideas for me, to make VLC running even in debug mode?

Posted: 08 Feb 2007 10:19
by hogi82
I figured out that the application stops while loading "libxtag_plugin.dll". By simply renameing that file to sth. like "libxtag_plugin.dll_" everything works fine.

Is "libxtag_plugin.dll" required, what does this file do?

Edit: Seems like it just accidentely worked, because not Application hangs on "libxml_plugin.dll". Since these two files were each the last plugins loaded, the "break"-point might be just after the plugin-loader-procedure..

Posted: 09 Feb 2007 09:32
by hogi82
In the debug log, the message [564] main decoder debug: "waiting decoder fifos to empty" is shown endlessly.

Again: Starting the application without debbuger using the same video causes no problems...

Posted: 17 Mar 2007 11:35
by DaRkYoda63
Hello,

I have the same problem ...

Have you find the solution ? Or other people have solution ?

Thanks

Posted: 17 Mar 2007 11:52
by hogi82
I've worked-around the problem by embedding the active-x in an ole-container in a new application. then i start this application, retrieve the Handle and use SetParent to make it a child of my own "main" application. Works fine, since I do not have to use any commands like Play oder Pause and so on.

If you want to do so, maybe you could use SendMessage or sth. like this...