[vlc-devel] Position updates in the input thread

Ludovic Fauvet etix at l0cal.com
Thu Apr 21 18:05:56 CEST 2011


Hello,

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...
Name: 0001-input-send-position-s-updates-to-the-intf-during-a-f.patch
Type: text/x-patch
Size: 2788 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110421/9818a829/attachment.bin>


More information about the vlc-devel mailing list