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

Kevin DeKorte kdekorte at yahoo.com
Wed Feb 22 22:41:34 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)

iD8DBQFD/NqOaR60qN0tF+8RAh7EAJ4iUz3/SnpxQ9/YzepGYg+6iZrtGQCePx1L
q0ZiSDxSRuDifpYbr/Gdnfo=
=pits
-----END PGP SIGNATURE-----

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



More information about the vlc-devel mailing list