[vlc-devel] Problem transporting psz (string) data with a libvlc event

basos g noxelia at gmail.com
Mon Nov 10 11:26:40 CET 2008


> The reason i want this feauture is because i need to know
> asynchronously from a libvlc application when a snapshot has been
> taken and what is the filename of the new image. The first has been
> achieved. The hole story is about transporting psz_data with the
> event.. As far as the interthread issue i have though of it and
> realized that the callback function (attached with
> libvlc_event_attach) runs in the same vlc thread that handles the
> var_Set callback (where i have confirmed that psz data can be read)..
>

Anyway it worked. Im not sure why the seg was happening but the only
thing i changed to the system is that i did a make install from vlc ,
instead of runing my vlc client program under a shell with
LD_LIBRARY_PATH=path_to_vld_build/src/.libs.. Maybe it loaded some
libs from the system path and a conflict happened ??

I'll be posting a patch right for it just. But i suppose that this
event might come in handly for a libvlc library user ...
vasil



More information about the vlc-devel mailing list