[vlc-devel] Position updates in the input thread
etix at l0cal.com
Thu Apr 21 18:05:56 CEST 2011
I noticed that during a fast-forward (repeated call to var_SetTime
with a time-offset) the interface was not notified of position changes
because the event was blocked while buffering.
The attached patch is an attempt to address this issue without
flooding the interface with updates.
I had different choices in mind:
- Ask the current position at regular interval (during a fast-forward)
inside the Qt4 interface
- Send updates every time (even when the input was buffering)
- Add a flag inside the input thread to allow updates to be sent when
the request was made using a time-offset
I chose the last option but this might not be the best choice... so
comments and suggestions are welcome :-)
Ludovic Fauvet (etix)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2788 bytes
Desc: not available
More information about the vlc-devel