VLC_Init causes application to hang when running w/ Debugger

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
hogi82
New Cone
New Cone
Posts: 7
Joined: 07 Feb 2007 16:20

VLC_Init causes application to hang when running w/ Debugger

Postby hogi82 » 07 Feb 2007 19:21

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?

hogi82
New Cone
New Cone
Posts: 7
Joined: 07 Feb 2007 16:20

Postby hogi82 » 08 Feb 2007 10:19

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..

hogi82
New Cone
New Cone
Posts: 7
Joined: 07 Feb 2007 16:20

Postby hogi82 » 09 Feb 2007 09:32

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...

DaRkYoda63
New Cone
New Cone
Posts: 4
Joined: 31 Mar 2006 15:13

Postby DaRkYoda63 » 17 Mar 2007 11:35

Hello,

I have the same problem ...

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

Thanks

hogi82
New Cone
New Cone
Posts: 7
Joined: 07 Feb 2007 16:20

Postby hogi82 » 17 Mar 2007 11:52

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...


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests