Example for dvb with libVLC
Posted: 08 May 2012 17:02
could you tell me how to get the program list of a ts stream by using vlc ? just like the menu playback---program ?
Discussion and support for VLC media player and friends
http://forum.videolan.org/
Code: Select all
input_thread_t *p_input = libvlc_get_input_thread(vlc->mp);
if (p_input){
input_item_t *p_item = input_GetItem(p_input);
if (p_item){
vlc_mutex_lock(&p_item->lock);
if (p_item->pp_epg && p_item->i_epg){
....
}
vlc_mutex_unlock(&p_item->lock);
}
vlc_object_release(p_input);
}