View Single Post
Old 13 May 2010, 01:12 pm   #1
Buschel
The Man
 
Join Date: Mar 2008
Posts: 9
Default Help in mpc_demux_seek() needed

Hi all,

as you may know I have ported the sv8 decoder to rockbox. When doing so there were some issues that needed to be solved due to changes especially in the buffer code. For example the change to use bytes instead for dwords slowed down decoding a lot on Coldfire targets.
Now a rockbox user found a major issue that I did not recognize during the port: Seeking forward in a file is extremely slow when this seek needs to scan (skip over frames) the first time. Seeking backwards or within the tableized area is as fast as expected. Reason for this slow seek is that within mpc_demux_seek() the buffer is always flushed and re-read again (a "FIXME"-comment tells the same). Is there a possibility to fix this behaviour?

best wishes,
Buschel
Buschel is offline   Reply With Quote