[vlc] LibVLC destroys my Window, how do I prevent it

Kevin DeKorte kdekorte at yahoo.com
Sun Feb 26 19:54:05 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have an issue I hope is easy to solve.

I have a xid that I am passing to libvlc like this

value.i_int = (int)ui->GetMediaWindow();
VLC_VariableSet(vlc, "drawable", value);
value.i_int = 1;
VLC_VariableSet(vlc, "drawableredraw", value);
item = plugin->GetNextPlayListNode();
VLC_AddTarget(vlc,item->fname, 0, 0, PLAYLIST_APPEND | PLAYLIST_GO,
PLAYLIST_END);


However, when the media is complete, libvlc appears to destroy the window I set
for the drawable. How do I prevent libvlc from destroying that window?

Thanks,

Kevin
- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEAflNaR60qN0tF+8RAvupAJ9RKj6lWoZk8Z++qgBu6uPJQuGuUwCfZlFl
dZD8/Vv9SG+W9vx+WoK+k0s=
=KiRv
-----END PGP SIGNATURE-----

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list