Пример #1
0
VlcMediaList::VlcMediaList(VlcInstance *instance)
    : QObject(instance)
{
    _vlcMediaList = libvlc_media_list_new(instance->core());
    _vlcEvents = libvlc_media_list_event_manager(_vlcMediaList);

    createCoreConnections();

    VlcError::errmsg();
}
Пример #2
0
static inline libvlc_event_manager_t * mlist_em(libvlc_media_list_player_t * p_mlp)
{
    assert_locked(p_mlp);
    return libvlc_media_list_event_manager(p_mlp->p_mlist, NULL);
}
Пример #3
0
/*
 * Unregister an event notification.
 *
 * @param [VLC::Event::Type] event_type the desired event to which we want to unregister
 * @return self
 * @todo fixme
 */
static VALUE
rg_detach_event(VALUE self, VALUE event_type)
{
    return em_detach_event(libvlc_media_list_event_manager(_SELF(self)), self, event_type);
}