[vlc-devel] How to monitor playlist changes in a filter module?

Rémi Denis-Courmont remi at remlab.net
Tue May 26 22:54:32 CEST 2015


Le mardi 26 mai 2015, 09:14:21 Peter Tap a écrit :
> static int OpenVideo(vlc_object_t *p_this) {
>   filter_t *p_filter = (filter_t *)p_this;
> 
>   filter_sys_t* p_sys = p_filter->p_sys = new filter_sys_t();
> 
>   // intf_thread_t* p_intf = (intf_thread_t*)p_this; // IS THIS OKAY?

struct intf_thread_t
{
    VLC_COMMON_MEMBERS
        
    struct intf_thread_t *p_next; /** LibVLC interfaces book keeping */
    /* ... */
};

struct filter_t                      
{
    VLC_COMMON_MEMBERS

    /* Module properties */
    module_t *          p_module;
    filter_sys_t *      p_sys;
    /* ... */
};

What do you infer?

-- 
Rémi Denis-Courmont
Remlab T:mi
http://www.remlab.net/




More information about the vlc-devel mailing list