[vlc-devel] Re: input callback

Vaclav Koldus vaclav.koldus at avpark.cz
Wed Jan 18 15:57:22 CET 2006


Antoine Cellerier napsal(a):

>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)
>
>  
>
That's why I would rather add a callback to input. Now this would work 
fine, but
in future I want to use VLM. Is there any possibility??


>modules/gui/wxwidgets/playlist_manager.cpp line 160 or so is a good
>place to look for examples.
>
>hth,
>
>  
>
Thanks
V.

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