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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9944
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
1 /*Windows resource file for MPlayer
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
2 compile with
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
3 windres -o resfile.o mplayer.rc
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
4 and add resfile.o to OBJS_MPLAYER in Makefile*/
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
5
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
6 #include <winver.h>
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
7 #include "version.h"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
8
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
9 1 VERSIONINFO
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
10 FILEVERSION 0,0,9,0
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
11 PRODUCTVERSION 0,0,9,0
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
12 FILEOS VOS__WINDOWS32
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
13 FILETYPE VFT_APP
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
14 {
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
15 BLOCK "StringFileInfo"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
16 {
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
17 BLOCK "000004b0" // LANG_NEUTRAL,UNICODE_CP
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
18 {
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
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"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
20 VALUE "CompanyName", "\000"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
21 VALUE "FileDescription", "MPlayer - Movie Player for Linux\000"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
22 VALUE "FileVersion",VERSION
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
23 VALUE "InternalName", "Counter Counter\000"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
24 VALUE "LegalCopyright", " (C) 2000-2003 Arpad Gereoffy (see DOCS)\000"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
25 //VALUE "LegalTrademarks"," \000";
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
26 VALUE "OriginalFilename", "mplayer.exe\000"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
27 VALUE "ProductName", "MPlayer - Movie Player for Linux\000"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
28 VALUE "ProductVersion",VERSION
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
29 //VALUE "SpecialBuild","\000"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
30 }
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
31 }
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
32 BLOCK "VarFileInfo"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
33 {
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
34 VALUE "Translation",0,0x04b0
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
35 }
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
36 }
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
37
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
38 IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico"
08608b5bb39a windows resource file for versioninfo and icon
faust3
parents:
diff changeset
39