[vlc-devel] [RFC] libvlc changes

Pierre d'Herbemont pdherbemont at free.fr
Sat Jun 9 23:18:36 CEST 2007


Hi all,

I plan to rewrite the way input are handled in libvlc.

Here is basically how I see it

libvlc_instance_t
-> libvlc_new()
-> libvlc_destroy()
-> libvlc_set_playlist()
-> libvlc_playlist()
-> libvlc_current_playing_input()
-> libvlc_set_position()
-> libvlc_get_position()
-> libvlc_get_length()
-> libvlc_play()
-> libvlc_pause()
-> libvlc_loop()
-> libvlc_video_*()
-> ...

libvlc_input_t
-> libvlc_input_new(url)
-> libvlc_input_destroy()
-> libvlc_input_get_meta(the_meta)
-> ...

libvlc_playlist_t <- contains libvlc_input_t or libvlc_playlist_t  
elements
-> libvlc_playlist_new()
-> libvlc_playlist_destroy()
-> libvlc_playlist_add_input()
-> libvlc_playlist_add_subplaylist()
-> libvlc_playlist_items_count()
-> ...

I would like to have some feedback on that.

Thanks,

Pierre.

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