Mercurial > mplayer.hg
annotate mplayer.rc @ 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 | 08608b5bb39a |
children | 71cf4cc1a454 |
rev | line source |
---|---|
9944 | 1 /*Windows resource file for MPlayer |
2 compile with | |
3 windres -o resfile.o mplayer.rc | |
4 and add resfile.o to OBJS_MPLAYER in Makefile*/ | |
5 | |
6 #include <winver.h> | |
7 #include "version.h" | |
8 | |
9 1 VERSIONINFO | |
10 FILEVERSION 0,0,9,0 | |
11 PRODUCTVERSION 0,0,9,0 | |
12 FILEOS VOS__WINDOWS32 | |
13 FILETYPE VFT_APP | |
14 { | |
15 BLOCK "StringFileInfo" | |
16 { | |
17 BLOCK "000004b0" // LANG_NEUTRAL,UNICODE_CP | |
18 { | |
19 VALUE "Comments","MPlayer is distributed under the terms of the GNU General Public License Version 2. Sourcecode is available at http://www.mplayerhq.hu\000" | |
20 VALUE "CompanyName", "\000" | |
21 VALUE "FileDescription", "MPlayer - Movie Player for Linux\000" | |
22 VALUE "FileVersion",VERSION | |
23 VALUE "InternalName", "Counter Counter\000" | |
24 VALUE "LegalCopyright", " (C) 2000-2003 Arpad Gereoffy (see DOCS)\000" | |
25 //VALUE "LegalTrademarks"," \000"; | |
26 VALUE "OriginalFilename", "mplayer.exe\000" | |
27 VALUE "ProductName", "MPlayer - Movie Player for Linux\000" | |
28 VALUE "ProductVersion",VERSION | |
29 //VALUE "SpecialBuild","\000" | |
30 } | |
31 } | |
32 BLOCK "VarFileInfo" | |
33 { | |
34 VALUE "Translation",0,0x04b0 | |
35 } | |
36 } | |
37 | |
38 IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico" | |
39 |