[vlc-devel] [RFC PATCH 1/2] vout: Allow vout plugins to provide vsync time

Rémi Denis-Courmont remi at remlab.net
Thu Jun 19 13:26:35 CEST 2014


Le 2014-06-19 17:34, Julian Scheel a écrit :
> If the display refresh rate matches the video rate it is desired to 
> show
> exactly one picture per frame. Some video renderers take care of this
> internally others don't. For those that don't do it we allow the vout 
> to
> provide a reference timestamp on which a vsync happened. Using the 
> assumption
> that frame and display duration are equal we compute a phase delay 
> and derive
> an offset to shift the phase to 25% of the frame duration.

IIRC, vout_display_info_t is read-only after vout activation.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list