[vlc-devel] [PATCH 2/5] input: add DEMUX_VOUT_CHANGED

Rémi Denis-Courmont remi at remlab.net
Fri Jul 13 18:36:43 CEST 2018


Le perjantaina 13. heinäkuuta 2018, 19.32.42 EEST Rémi Denis-Courmont a écrit 
:
> Mouse events should be dispatched like key events already are, e.g.:
> 
> const vlc_mouse_t *state;

+ es_out_it_t *id;

> 
> if (demux_Control(demux, DEMUX_NAV_MOUSE,

+ id,

> state) != VLC_SUCCESS)
>     /* Generic mouse processing, fullscreen toggle or whatever */;
> else
>     /* Mouse event eaten by demuxer. Drop. */;

For the corner case that there are multiple ES. Also needs to find the correct 
demuxer among input sources.

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





More information about the vlc-devel mailing list