[vlc-devel] [PATCH] Handle GET_PARAMETER keepalive responses during PAUSE
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
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).
Live Networks, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel