diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-13 16:56:10 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-13 16:56:10 +0000 |
commit | a059a420e9293e2669e0b091a5dc916c06faceea (patch) | |
tree | e3c5103e3e3856e4bbfb141524c34155c67c02e7 /mp3lib | |
parent | 7aba7b14ec461dafaa701ee15be94a9997ef9d3f (diff) | |
download | mpv-a059a420e9293e2669e0b091a5dc916c06faceea.tar.bz2 mpv-a059a420e9293e2669e0b091a5dc916c06faceea.tar.xz |
Fix seeking with cache enabled on systems using fork().
The first data connection was opened at open time which
happend in the main process. This prevented properly closing
the connection on later seeks as they happend in the child
process and the fd was still open in the parent process.
The fix delay opening the data connection upon the first
fill_buffer/seek.
Also remove some code duplication, add a timeout on read
from the control connection and a few other small fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17855 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib')
0 files changed, 0 insertions, 0 deletions