quartz: Remove the seek position table from the MPEG splitter

Chris Robinson chris.kcat at gmail.com
Mon Jun 25 22:26:49 CDT 2012


It takes a good 0.5 seconds for MPEGSplitter_pre_connect to iterate over the 
file and build the table for a standard 2 or 3 minute MP3. This causes 
unsightly hiccups when an app tries to play a new file, particularly in games, 
as the pre-connect needs to happen synchronously to tell whether it can 
succeed or not.

Since the lookup table is not really needed to seek, it can be removed for a 
nice boost in startup time at the cost of a bit more work when seeking. IMO, 
it's more important for the initial connect to be fast than a seek.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-quartz-Remove-the-seek-position-table-from-the-MPEG-.patch
Type: text/x-patch
Size: 8215 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120625/0e676128/attachment.bin>


More information about the wine-patches mailing list