ranma f8c32fc953 stream: Make stream_write_buffer() check for short writes
None of the calling sites to stream_write_buffer were checking the
return value to see if all bytes got written (nothing in current code
actually calls it any more after MEncoder was removed).

This was causing (very occasionally) problems with mencoder when using
output pipes AND running under a sandbox or when being straced (ptrace
is the culprit). Theoretically this problem can happen without pipes
or ptrace.

Only stream_file, stream_smb and stream_ffmpeg implement
write_buffer and ffmpeg already handles this internally.

Original patch by Sang-Uok Kum.

Signed-off-by: Tobias Diedrich <[email protected]>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32881 b3059339-0415-0410-9bf9-f77b7e298cf2
2011-04-12 18:23:43 +03:00
2010-03-10 00:47:25 +02:00
2011-04-02 07:28:53 +03:00
2011-01-31 16:03:10 +02:00
2011-02-01 21:28:03 +02:00
2011-03-13 22:20:51 +02:00
2010-05-07 22:03:48 +03:00
…
…
…
2011-01-26 20:42:15 +02:00
2011-01-31 16:03:11 +02:00
2010-03-09 19:18:43 +02:00
2011-04-02 07:28:53 +03:00
2011-01-26 20:42:15 +02:00
2010-05-03 23:34:38 +00:00
2011-04-02 07:28:53 +03:00
…
…
2010-03-09 19:18:43 +02:00
2010-03-09 19:18:43 +02:00
2011-01-25 03:15:18 +02:00
2010-03-09 19:18:43 +02:00
2010-03-09 19:18:43 +02:00
…
…

Compiling with full features requires development files for several
external libraries. Below is a list of some important requirements. For
more information see the output of './configure --help' for a list of options,
or look at the list of enabled and disabled features printed after running
'./configure'. If you think you have support for some feature installed
but configure fails to detect it, the file config.log may contain information
about the reasons for the failure.

Libraries specific to particular video output methods
(you'll want at least one of VDPAU, GL or Xv):
 - libvdpau (for VDPAU output, best choice for NVIDIA cards)
 - libGL (OpenGL output)
 - libXv (XVideo output)
general:
 - libasound   (ALSA audio output)
 - various general X development libraries
 - libfreetype
 - libfontconfig
 - libass
 - FFmpeg libraries (libavutil libavcodec libavformat libswscale libpostproc)

Most of the above libraries are available in suitable versions on normal
Linux distributions. However FFmpeg is an exception (distro versions may be
too old to work at all or work well). For that reason you may want to use
the separately available build wrapper that first compiles FFmpeg libraries
and libass, and then compiles the player statically linked against those.
S
Description
No description provided
Readme
212 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 86.5%
Lua 5.8%
Swift 2.3%
C++ 1.5%
Meson 1.1%
Other 2.8%