[vlc-devel] Input MainLoop deadline

Rémi Denis-Courmont remi at remlab.net
Tue Oct 15 05:40:15 CEST 2013


Le lundi 14 octobre 2013 20:03:50 Francois Cartegnie a écrit :
> Some time display bugs are related to missing updates calls from Input
> MainLoop.
> 
> That loop waits until a GetWakeup time which is computed from the amount
> of data demuxed. (see below)
> 
> In case of large amounts sent by demuxer, that delay can be quite high,
> and higher than intf or stats update time.
> 
> Can't have a way to always set i_deadline = to min of i_intf_update,
> i_statistic_update, or i_wakeup ?

I doubt it would be that easy. The more you iterate the loop, the more the 
demuxer plugin will send data. In other words, the interval intrinsically 
needs to be proportional to the amount of data sent.

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




More information about the vlc-devel mailing list