Mercurial > mplayer.hg
view AUTHORS @ 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 | c7e3f8a16e79 |
children | 8b61da744d8b |
line wrap: on
line source
***************************************** AUTHORS ***************************************** NOTE: NEVER send bug reports, help and feature requests directly to the authors, but you're free to write mails about donating! For donation request visit http://www.mplayerhq.hu/homepage/donations.html! ___________________ The MPlayer project ~~~~~~~~~~~~~~~~~~~ Árpád Gereöffy (A'rpi/ESP-team) [mail to <mplayer-users@mplayerhq.hu>] * mplayer, mencoder core, A-V sync * libmpdemux, demultiplexer for mpeg, asf, avi, various fixes in others * mp3lib, based on mpglib sources [MP3 audio decoder] * getch2 [keyboard handler] * some changes in libmpeg2 code (progressive frames, bitrate & fps support) * libvo improvements: adding OpenGL support, bugfix in mga driver... * triple buffering & YUY2 support (for DivX/MPEG4) into mga_vid driver * OSD & SUB display code * FFmpeg/libavcodec integration * DivX4Linux (Project Mayo) support (see documentation) * New DVD-Support using libdvdread * MPEG PES output & DVB card support * libmpcodecs design, porting video decoders, filters Zoltán Ponekker (Pontscho/fresh!mindworkz) <pontscho@makacs.poliod.hu> * the original configure script and Makefiles for easy compile * GUI system * 3DNow! support into mp3lib and fastmemcpy.h * various X11 driver changes, fixes (keyboard handling, fullscreen, bpp detect, etc) * libvo: adding xmga driver * audio mixer (volume) support Gábor Lénárt (LGB) <lgb@lgb.hu> * configure script improvements * Makefile improvements * preliminary DVD support (libcss) * various X11 cleanups and fixes * HTMLization of documentation Gábor Bérczi (Gabucino) <gabucino@mplayerhq.hu> * documentation writer & maintainer * Hungarian translation of documentation, homepage, and help output * second homepage design&gfx * homepage maintainer * testing, codecs quality & speed comparisons * IRC channels operator (#MPlayer is user channel) * experimental MINIX port :) (what's funny about it?) * MPsub subtitle format design Szabolcs Berecz (Szabi) <szabi@inf.elte.hu> * codecs.conf file parser * config file and command line parser * mga_vid fixes, module option etc. * fbdev support in libvo * type #7 subtitle support László Megyer (Lez, Laaz) <lez@sch.bme.hu> * SUB reader * screensaver+DPMS disable for libvo Gyula László (Chass, Tégla) <chass-@freemail.hu> * first fonts (mp_font1.zip) * third homepage design&gfx * fourth (current) homepage design&gfx Zoltán Márk Vicián (Se7en) <se7en@sch.bme.hu> * SVGAlib support in libvo Alex Beregszaszi (al3x) <alex@fsn.hu> * ALSA output driver in libao2 * vo_ggi output driver in libvo (www.ggi-project.org) * XAnim codecs support * VIVO files, codecs support * TV grabbing support * Quicktime hackings * libavcodec support in MEncoder * RM file format demuxer * mencoder framecopy * yuv4mpeg1 support * NuppelVideo demuxer changes * subconfig * VIDIX and libdha hackings * Matrox driver port to Vidix * XVidix video output driver * and other various stuff (in libvo, libmad syncing, dec_audio/video and loader) * libmpcodecs / libmpdemux hacking * co-patch-maintainer * dynamic a/v plugins (external shared ad/vd/.. objects) * millions of bug fixes Andreas Ackermann (Acki) <asackerm@stud.informatik.uni-erlangen.de> * LIRC support (see documentation) * DGA support in libvo Felix Bünemann (Atmos) <atmosfear@users.sourceforge.net> * SDL driver maintainer * Additional YUV formats fixes * New font (mp_font2.zip) * PNG file output support in libvo * flipping support (for Indeo 3/4, etc) * SDL audio driver in libao2 * RAW PCM/WAVE file writer for libao2 * Ogg Vorbis audio support * Various aspect ratio code, prescaling support * Win32 (Cygwin) port * DivX5Linux support * AAC decoding support via libfaad2 * Darwin (MacOS X) port TeLeNiEkO <telenieko@telenieko.com> * Spanish translation of documentation (outdated) Michael Graffam <mgraffam@idsi.net> * XF86VidMode support to vo_x11 and vo_dga * Video mode switching code to vo_dga Jens Hoffmann <hoffmajs@gmx.de> * Additional YUV formats support * found the big BITMAPINFOHEADER problem -> solved ASV2 pixelization Nick Kurshev <nickols_k@mail.ru> * memcpy optimizations for AMD K7 and Intel Pentium III (fastmemcpy.h) * CD-ROM tune info * further 3DNow! optimizations into mp3lib and libac3 and FFmpeg * Russian translation of documentation (outdated) * radeon_vid, rage128_vid, radeonfb * libvo driver: vo_vesa * VIDIX and libdha design, programming, rage128/radeon vidix drivers German Gomez Garcia <german@piraos.com> * SPDIF AC3 output for SBLive! Dariusz Pietrzak (Eyck) <eyck@ghost.anime.pl> * Debian packaging support (see debian/* and the documentation) * support for vplayer subtitle format * preliminary support for .RT subtitle format Marcus Comstedt <marcus@idonex.se> * initial Solaris8-x86 support * configure fixes Jürgen Keil <jk@tools.de> * patched MPlayer to work on Solaris 8 x86 * various fixes (win32, configure, etc) * SUN audio driver in libao2 * mediaLib support in libavcodec * esd driver in libao2 Vladimir Kushnir <vkushnir@Alfacom.net> * patched MPlayer to work on FreeBSD x86 Bertrand Baudet <bertrand_baudet@yahoo.com> * network streaming support author, maintainer * CDDB support Derek J Witt <djw@flinthills.com> * MMS network streaming patches Alban Bedel <albeu@free.fr> * MMS network streaming patches * Playtree and per-entry config * Playlist parsers * New input layer, slave mode improvements * Audio only support * MP3, WAV and Ogg demuxers, Ogg-in-AVI fixes * Support for audio from external file * DXR2 driver * vo_aa improvements * CDDA support * OSD menu * New modular config/commandline parser code Artur Zaprzala <zybi@fanthom.irc.pl> * Complete font generator prog + OSD font (TOOLS/subfont-c) Mihail Milushev <lanzz@lanzz.org> * GIMP font generator plugin (TOOLS/subfont-gimp) Adam Tla/lka <atlka@pg.gda.pl> * osd/sub review, fixes, optimization, utf8 support * various fixes Folke Ashberg <folke@ashberg.de> * native AAlib driver (-vo aa) Ivan Kalvachev <iive@yahoo.com> * interlaced MPEG2 support (libmpeg2) * libvo2 draft * configfile parser fixes Pierre Lombard (pl) <p_l@gmx.fr> * new configure script * general code maintaining, fixes, patch committing Michael Niedermayer <michaelni@gmx.at> * new, GPL postprocessing code (with deinterlacing etc...) * software scaling with MMX/MMX2/3DNow support (swscale.c) * various rgb/yuv bpp converters * new, better IDCT code for libavcodec, speedup of divx decoders * runtime CPU detection * SSE optimization of liba52 * various encoder/decoder fixes, improvements in libavcodec, DR support * various video filters, like il, swapuv, boxblur Sven Goethel <sgoethel@jausoft.com> * libvo driver: vo_gl2 Joy Winter <joy@pingfm.org> * ao_alsa9 fixes, AC3 passthrough support Eric Anholt <eanholt@gladstone.uoregon.edu> * CPU detection code Jiri Svoboda <Jiri.Svoboda@seznam.cz> * AQT type subtitles support * CRTC2 YUV support in mga_vid * DirectFB video output driver Oliver Schoenbrunner <oliver.schoenbrunner@jku.at> * SGI audio driver * MIPS support Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> * the original libmad support David Holm <dholm@telia.com> * DXR3 support Panagiotis Issaris <takis@lumumba.luc.ac.be> * -playlist option * NuppelVideo support * various fixes Mike Melanson <melanson@pcisys.net> * MS Video1 codec open-source implementation * FLI demuxer, decoder * Unified ADPCM Decoder (supports IMA/DVI, MS ADPCM, several others) * FILM (.cpk) file demuxer * RoQ file demuxer, Audio/Video decoder * QT SMC decoder * QT RLE decoder * MS RLE decoder re-implementation Tobias Diedrich <ranma@gmx.at> * NAS audio output driver * DXR2 driver Kilian A. Foth <foth@informatik.uni-hamburg.de> * -slave mode Tim Ferguson <timf@mail.csse.monash.edu.au> * Open source Cinepak decoder * Open source CYUV decoder Sam Lin <itrs@softwell.com.tw> * -wid (plugger) patch Johannes Feigl <johannes.feigl@aon.at> * original German docs translation * some improvements in configure, small patches * found somebody (Thilo Wunderlich) who sent a DVB card * msg translations (help_mp-XX.h) maintainer Kim Minh Kaplan <kmkaplan@selfoffice.com> * DVD and VobSub subtitles display support * DVD subtitles rip to VobSub Brian Kuschak <bkuschak@yahoo.com> * RTP streaming support (reading) Stephen Davies <steve@daviesfam.org> * support for large video files (>2^32 bytes in size) * surround sound aop plugin Rik Snel <rsnel@cube.dyndns.org> * zr video output driver Anders Johansson <ajh@atri.curtin.edu.au> * old audio plugin system, some effect plugins * new libaf interface design, implementation, plugins Roberto Togni <rtogni@freemail.it> * Open source QT RPZA decoder * Open source HuffYUV decoder * Open source MSZH/ZLIB decoder * Open source QT 8BPS decoder * mp_help-it.h updates * Realaudio (ra) demuxer, 14_4 and 28_8 codec support * Misc bugfixes and enhancements Wojtek Kaniewski <wojtekka@bydg.pdi.net> * Mouse wheel support * got the freetype+RAW font support work together Fredrik Kuivinen <freku045@student.liu.se> * OSD/subtitles outside movie - for SDL * video filter layer draft, first implementation * virtualdub filter support (not yet finished/committed) Florian Schneider <flo-mplayer-dev@gmx.net> * RealVideo codec libraries interface, .rm demuxer fixes Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz> * various bugfixes * rewrote v4l video capturing, implemented audio capturing layer * freetype2 font rendering support D Richard Felker III <dalias@aerifal.cx> * various bugfixes * soft eq and halfpack video filters Dominik Mierzejewski <dominik@rangers.eu.org> * compiler warning fixes * official RPM packages Diego Biurrun <diego@biurrun.de> * documentation reviewer and co-maintainer * console output translation (help_mp-XX.h) maintainer * README * random trivial fixes * testing, bug reports * homepage improvements * head of the Ministry for English Composition Sascha Sommer <saschasommer@freenet.de> * directx VO driver * windows waveout AO driver * quicktime audio+video decoding, video encoding (using win32 DLLs) support * MinGW port Sidik Isani <lksi@cfht.hawaii.edu> * get_delay() smoothing code (-autosync) * RTC initialization fixes * various small fixes Fredrik Noring <noring@nocrew.org> * -vo DGA fixes Kees Cook <mplayer@outflux.net> * dvdnav hacks * rawdv demuxer fixes Hampa Hug <hhug@student.ethz.ch> * LUT-based soft eq video filter (-vf eq2) * .ogm demuxer endianess fixes Uwe Reder <Uwe.Reder@3SOFT.de> * various x11/vm/fs fixes * sub/osd control fixes Andriy N. Gritsenko <andrej@lucky.net> * skip-deinterlace video filter * MUXER layer, and new MPEG-PS muxer Joey Parrish <joey@nicewarrior.org> * various fixes * -vo gif89a author * gif demuxer author Juergen Hammelmann <juergen.hammelmann@gmx.de> * TOOLS/menvcd author Martin Gansser <mgansser@ngi.de> * porting to hpux Matteo Giani <matgiani@ctonet.it> * PVA demuxer Rudolf Marek <MAREKR2@cs.felk.cvut.cz> * gtf code for -vo vesa Tilman Sauerbeck <tsauerbeck@users.sourceforge.net> * TGA decoder (rle/uncomp), -mf tga support Colin Leroy <colin@colino.net> * gui endianness fixes * volume control with -ao sdl * mencoder -ovc lavc endianness fixes * -ao pcm endianness fixes * libdha on powerpc linux * mach64 vidix driver endianness fixes Mark Zealey <mark@zealos.org> * -vo tdfxfb driver * -geometry window positioning code Gregory Kovriga <gkovriga@techunix.technion.ac.il> * GUI drag&drop support * GUI DVD fixes * various small bugfixes in ASX/URL parser Rémi Guyomarch <rguyom@pobox.com> * various fixes * 'unsharp' video filter * xvid encoding support Salvatore Falco <sfalco@studenti.ing.uniroma1.it> * jacosub parsing & dump support * overlapping subtitles & sub sorting support * SAMI subtitles dump support Ville Syrjälä <syrjala@sci.fi> * -vo dfbmga driver (G400 DVDMax-like feature using dfb 0.9.14) Björn Sandell <biorn@dce.chalmers.se> * various *BSD fixes lucho <lucho@haemimont.bg> * hw-accelerated video eq support into x11, gl2 (using DirectColor cmap) Per Wigren <wigren@home.se> * bmovl - Bitmap Overlay video filter Nicolas Le Gaillart <n@tourmentine.com> * French documentation translation * documentation updates and fixes * 2nd half of the documentation HTML --> XML conversion Lu Ran <hephooey@fastmail.fm> * Chinese documentation translation * Various VOBSUB-related patches * improved seeking in realmedia format András Mohari <mayday@varoshaza.nagyatad.hu> * skin documentation * various docs updates and fixes * 1st half of the documentation HTML --> XML conversion Dénes Balatoni <pnis@coder.hu> * xmms inputplugin support * various minor feature additions & fixes mostly to make mplayer work better on my pda Oskar Liljeblad <oskar@osk.mine.nu> * various OSD related patches Bernd Ernesti <mplayer@lists.veego.de> * NetBSD support patches Eviv Bulgroz <ebulgroz@yahoo.com> * Presets support for mp3lame encoding * AVI demuxer time/bitrate calculation fixes * various bugfixes Matan Ziv-Av <matan@svgalib.org> * vo_svga fixes, improvements * svgalib kernel helper support for VIDIX/libdha Puk Madick <pingy@swirvemail.com> * KDE/gnome2 fullscreen fix * configparser fixes Tomas Hurka <tom@hukatronic.cz> * Darwin DVD support (mpdvdkit2) * various fixes Moritz Bunkus <moritz@bunkus.org> * various OGM hacks/fixes * author of ogm-tools * Matroska demuxer Filip Kalinski <filon@pld.org.pl> * X11 fulscreen switching fixes/cleanup Christian Ohm <chr.ohm@gmx.net> * various small bugfixes Alexander Gottwald <Alexander.Gottwald@informatik.tu-chemnitz.de> * various small bugfixes Andreas Hess <jaska@gmx.net> * upgrading libdvdcss in libmpdvdkit2 * various small bugfixes Salvador Eduardo Tropea <salvador@inti.gov.ar> * subtitle parsing/displaying related patches Marcus Blomenkamp <Marcus.Blomenkamp@epost.de> * VIDIX patches (rage128, radeon 7000) * OSS AC3 passthru. fix Alan Young <ayoung@teleport.com> * fixed support of RealMedia & Xanim binary plugins on Alpha Attila Kinali <kinali@gmx.net> * various small fixes in the x11 code * xinerama support * documentation * patch application monkey Andoni Zubimendi <andoni@lpsat.net>. * Spanish documentation translation Juan Martin <nauj27@teleline.es> * Spanish man page translation * Spanish documentation translation Dmitry Baryshkov <mitya@school.ioffe.ru> * Russian documentation translation * FLAC decoding support * XML build system rgselk <rgselknospam@yahoo.com> * Real rtsp Range support NOTE: If you think you are missing here, feel free to send a patch. ===== ____________ Main testers ~~~~~~~~~~~~ Tibor Balázs (Tibcu) Péter Sasi (SaPe) Christoph H. Lampert (Gruel) Attila Kinali (KotH) Bohdan Horst (Nexus) ________________ The codecs, libs ~~~~~~~~~~~~~~~~ Aaron Holtzman <aholtzma@engr.uvic.ca> * ac3dec (and libac3) author [old AC3 audio decoder] * the original mga_vid driver [Matrox G200/G400 YUV Back-end Scaler] * mpeg2dec [Fast MPEG1/MPEG2 video decoder, currently used in player] Michel Lespinasse <walken@zoy.org> * did large libmpeg2 changes for better speed and mpeg conformance * liba52 author [current AC3 audio decoder] Eugene Kuznetsov <divx@euro.ru> * avifile author [AVI player library for linux, using Win32 VfW/ACM codecs] * technical help about AVI and ASF formats, and how to get YUV using VfW... * divx4linux technical support Zdenek Kabelac <kabi@informatics.muni.cz> * current avifile maintainer * some technical help about the win32 stuff, .asf formats and timers Fabrice Bellard <fabrice.bellard@free.fr> * FFmpeg/libavcodec author, maintainer (open source mpeg, mjpeg, divx, wma, dv etc audio/video en/decoder) Project Mayo <http://www.projectmayo.com> * the OpenDivX codec authors Michael Hipp * mpglib author [isn't used directly but some parts in mp3lib] Mark Podlipec * xa_gsm.c author [MS-GSM audio codec] [from a GSM library by Jutta Degener and Carsten Bormann] Jake Janovetz * remez.c author [Used to calculate audio filter coefficients] Vivien Chappelier, Damien Vincent * libFAME authors [fast mpeg-1 encoder, used by -vo mpegpes/-vo dxr3] _____________________________________________________ Their code is not used in the current player version, but I've got some ideas or other technical help from: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avery Lee <phaeron@virtualdub.org> * VirtualDub author, help understanding AVI with VBR audio and other AVI issues John F. McGowan <http://www.jmcgowan.com> * AVI FAQ author/collector. [site with many useful docs on codecs and avi format] Dirk Farin <farin@ti.uni-mannheim.de> * dvdview author [MPEG1/MPEG2 video decoder, used in v0.5-v0.8] Adam Williams <broadcast@earthling.net> * libmpeg3 (and xmovie) author [MPEG1/MPEG2 video decoder, used in v0.1-v0.4]