[vlc-devel] [PATCH] Handle GET_PARAMETER keepalive responses during PAUSE

Rémi Denis-Courmont remi at remlab.net
Thu Jun 25 21:36:49 CEST 2015


Le jeudi 25 juin 2015, 12:27:01 Ross Finlayson a écrit :
> > Le jeudi 25 juin 2015, 12:10:30 Ross Finlayson a écrit :
> >>> And so the other threads need to tell the live555 thread to do
> >>> something.
> >>> Except they cannot because the live555 is sleeping inside the live555
> >>> event loop…
> >> 
> >> No, it’s not ‘sleeping’ - at least not for very long (*at most* 10ms
> >> inside
> >> “select()", and that time’s configurable).
> > 
> > That is even worst.
> > 
> > The VLC process is not supposed to wake up while playback is paused
> 
> How do you handle the 'mouse click’ event on the ‘play’ button (when the
> user tells VLC to resume playing)?

That is OS-dependent and abstracted away by Qt GUI framework.

> Via a socket event?
> 
> But anyway, this is silly - why would you possibly object to the LIVE555
> event loop thread waking up every 10ms (and then going straight back to
> sleep in “select()” if nothing else is happening)?

Because it ruins power management obviously (and makes VLC look bad in 
powertop).

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




More information about the vlc-devel mailing list