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

Ross Finlayson finlayson at live555.com
Thu Jun 25 21:43:14 CEST 2015


>>> 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.

But it’s a relevant question.  If VLC is not waking up periodically to ‘poll’ for this event occurring, then how does it detect it?


>> 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).

I’m sorry - I just don’t buy that.  We’re talking about maybe 1-10 microseconds worth of code (on most modern CPUs) getting executed every 10ms.  That’s 0.1% CPU utilization at most.

But anyway, as I said before, if you *really* don’t want this, you can disable it (and use sockets for all communication with the LIVE555 thread).


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150625/cc642181/attachment.html>


More information about the vlc-devel mailing list