[vlc-devel] Re: input callback

Antoine Cellerier dionoea at videolan.org
Wed Jan 18 15:48:03 CET 2006

On Wed, Jan 18, 2006, Vaclav Koldus wrote:
> Now I need to react when the input file changes. Is there any chance to 
> set callback function?
> Or do I have to retrieve the filename this way periodicaly and look for 
> change?

You could register a callback like:
var_AddCallback( p_playlist, "playlist-current", PlaylistNext, this );
(beware that this won't work if you use your module with VLM)

modules/gui/wxwidgets/playlist_manager.cpp line 160 or so is a good
place to look for examples.


Antoine Cellerier

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