Mercurial > mplayer.hg
annotate Copyright @ 11619:179138947307
This patch contains bugfixes for the esd audio output driver that I
uncovered while trying to send sound to a remote esd server over a
wireless (11 mbs, just enough to handle to sound) link.
First, the sound was full "ticking" sounds. I found a bug that
prevented the "send the remainder of this block" code from ever being
called - so large chunks of audio were simply being ignored. Fixing
this bug removed the "ticking" from audio streams.
Fixing this bug, however, uncovered another problem - when the socket
buffer was full, doing a blocking write to finish the buffer would take
far too long and would turn video into a chunky mess. I'd imagine this
blocking write would be fine for an audio-only stream, but it turns out
to hold up the video far too much.
The solution in this patch is to write as much data as possible to the
socket, and then return as soon as possible, reporting the number of
bytes actually written accurately back to mplayer. I've tested it on
both local and remote esd servers, and it works well.
Patch by Benjamin Osheroff <ben@gimbo.net>
author | attila |
---|---|
date | Wed, 10 Dec 2003 12:19:13 +0000 |
parents | 466651cd6e2a |
children | c94ee1c28a67 |
rev | line source |
---|---|
11605
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
1 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
2 MPlayer was originally written by Árpád Gereöffy and has been extended and |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
3 worked on by many more since then, see the AUTHORS file for an (incomplete) |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
4 list. You are free to use it under the terms of the GNU General Public License, |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
5 as described in the LICENSE file. |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
6 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
7 MPlayer as a whole is copyrighted by the MPlayer team. Individual copyright |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
8 notices can be found in the file headers. Furthermore, MPlayer includes code |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
9 from several external sources: |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
10 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
11 Name: FFmpeg |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
12 Version: CVS snapshot |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
13 Homepage: http://www.ffmpeg.org |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
14 Directory: libavcodec |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
15 License: GNU Lesser General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
16 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
17 Name: FAAD2 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
18 Version: 2.0 RC1, updated to CVS from 20031003 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
19 Homepage: http://www.audiocoding.com |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
20 Directory: libfaad2 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
21 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
22 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
23 Name: FLAC |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
24 Version: 1.1.0 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
25 Homepage: http://flac.sourceforge.net/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
26 Directory: libmpflac |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
27 License: X11 style, see libmpflac/COPYING.Xiph |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
28 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
29 Name: liba52 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
30 Version: 0.7.1b + patches |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
31 Homepage: http://liba52.sourceforge.net/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
32 Directory: liba52 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
33 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
34 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
35 Name: libdvdcss |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
36 Version: 1.2.8 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
37 Homepage: http://developers.videolan.org/libdvdcss/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
38 Directory: libmpdvdkit2 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
39 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
40 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
41 Name: libdvdread |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
42 Version: 0.9.3 + patches |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
43 Homepage: http://www.dtek.chalmers.se/groups/dvd/development.shtml |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
44 Directory: libmpdvdkit2 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
45 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
46 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
47 Name: libmpeg2 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
48 Version: 0.3.1 + patches |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
49 Homepage: http://libmpeg2.sourceforge.net/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
50 Directory: libmpeg2 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
51 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
52 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
53 Name: mpglib (part of mpg123) |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
54 Version: 0.59s |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
55 Homepage: http://www.mpg123.de/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
56 Directory: mp3lib |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
57 License: GNU Lesser General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
58 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
59 Name: avifile DLL loader |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
60 Version: 0.47 + patches + CVS updates |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
61 Homepage: http://avifile.sourceforge.net/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
62 Directory: loader/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
63 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
64 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
65 Name: fbset |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
66 Version: 2.1 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
67 Homepage: http://home.tvd.be/cr26864/Linux/fbdev/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
68 Directory: TVout/fbset |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
69 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
70 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
71 Name: matroxset |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
72 Version: 0.3 |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
73 Homepage: ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/ |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
74 Directory: TVout/matroxset |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
75 License: GNU General Public License |
466651cd6e2a
Copyright and authorship declaration along with an (incomplete) list of
diego
parents:
diff
changeset
|
76 |