1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
Command line video player
Go to file
Uoti Urpala 38b55f8cef demux: pad even 0-size demux packet data (fixes sd_ass crash)
sd_ass relies on there being a zero byte after packet data. However
the packet allocation routines special-cased data length 0 and left
the data pointer as NULL in that case. This could cause a crash in
sd_ass if there was an empty subtitle packet. Change the allocation
routines to stop special-casing empty data and always allocate
padding. Empty packets are not so common that special casing them
would be a worthwhile optimization.

Also fix resize_demux_packet() to use MP_INPUT_BUFFER_PADDING SIZE as
the padding size, instead of a hardcoded value of 8.
2011-06-18 20:02:39 +03:00
debian Merge svn changes up to r30675 2010-03-10 00:47:25 +02:00
DOCS vo_xvmc: drop XvMC support 2011-05-09 20:27:16 +03:00
drivers the great MPlayer tab removal: part I 2010-04-12 10:56:17 +00:00
etc input: add useful default pointer button bindings 2011-06-14 19:58:55 +03:00
ffmpeg_files ffmpeg_files/intreadwrite.h: fix AV_RL32/AV_RB32 signedness 2011-06-15 00:10:47 +03:00
input input: add useful default pointer button bindings 2011-06-14 19:58:55 +03:00
libaf audio: clamp sample values in float->int format conversions 2011-05-04 17:25:11 +03:00
libao2 ao: fix crash after ao init failure (from recent 3a5fd15fa2) 2011-05-16 01:32:26 +03:00
libmenu input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
libmpcodecs vo_xvmc: drop XvMC support 2011-05-09 20:27:16 +03:00
libmpdemux demux: pad even 0-size demux packet data (fixes sd_ass crash) 2011-06-18 20:02:39 +03:00
libvo vo_xvmc: drop XvMC support 2011-05-09 20:27:16 +03:00
loader loader: Remove __ptr32 and __ptr64 typedefs 2011-01-29 04:05:28 +02:00
osdep input: make slave command file descriptors nonblocking 2011-05-04 18:53:17 +03:00
rpm vo_xvmc: drop XvMC support 2011-05-09 20:27:16 +03:00
stream cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
sub sub/ass: use default style, not first style unconditionally 2011-06-14 20:01:19 +03:00
timeline EDL: add support for new EDL file format 2011-04-05 06:26:17 +03:00
TOOLS TOOLS/matroska.py: recognize CodecName 2011-04-08 01:20:35 +03:00
.gitignore .gitignore: add /cpuinfo 2011-03-13 22:20:51 +02:00
access_mpcontext.h audio: change external AO interface to "ao_[method](ao, ...)" 2011-04-09 03:03:22 +03:00
asxparser.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
asxparser.h Merge svn change r31134 2010-05-07 22:03:48 +03:00
AUTHORS documentation: remove Changelog, rewrite README 2011-02-15 12:04:32 +02:00
av_log.c Update libav API uses 2011-04-20 04:36:05 +03:00
av_log.h
av_opts.c Update libav API uses 2011-04-20 04:36:05 +03:00
av_opts.h
bstr.c cleanup: find_subfiles.c: simplify (mainly using bstr) 2011-04-20 04:22:53 +03:00
bstr.h bstr.h: change BSTR() from macro to inline function 2011-04-24 03:05:24 +03:00
cfg-mplayer.h Merge branch 'mplayer1_changes' 2011-05-02 00:46:03 +03:00
codec-cfg.c cleanup: remove more warnings 2011-05-02 00:46:48 +03:00
codec-cfg.h codec-cfg: set CODEC_CFG_MIN to the release value in codecs.conf 2010-11-02 04:11:07 +02:00
command.c Merge branch 'mplayer1_changes' 2011-05-02 00:46:03 +03:00
command.h Merge svn changes up to r30475 2010-03-09 19:18:43 +02:00
configure vo_xvmc: drop XvMC support 2011-05-09 20:27:16 +03:00
Copyright mp3lib: drop internal mp3lib tree 2011-04-02 07:28:53 +03:00
cpudetect.c Move code to avoid forward declarations in top-level .c files 2010-11-02 04:18:08 +02:00
cpudetect.h loader: Reuse do_cpuid from cpudetect.c in loader/win32.c 2010-11-02 04:15:01 +02:00
cpuinfo.c the great MPlayer tab removal: part II 2010-05-03 23:34:38 +00:00
defaultopts.c options: move sub_name, sub_auto and vobsub_name to struct 2011-04-20 04:22:52 +03:00
defaultopts.h cleanup: remove unused MEncoder-related code 2011-01-25 02:29:31 +02:00
edl.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
edl.h the great MPlayer tab removal: part II 2010-05-03 23:34:38 +00:00
fmt-conversion.c Add support for 12-bit color mode on framebuffer devices. 2010-05-06 10:18:25 +00:00
fmt-conversion.h
LICENSE Copyright, LICENSE: change binary license to GPL 3 2011-03-24 23:40:29 +02:00
m_config.c cleanup: remove more warnings 2011-05-02 00:46:48 +03:00
m_config.h m_config.[ch]: mark some function parameters const 2010-11-02 04:18:08 +02:00
m_option.c options: fix -profile parsing after 2db33ab48c 2011-05-07 19:44:58 +03:00
m_option.h cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
m_property.c cleanup: define ROUND() macro in mpcommon.h 2011-01-31 16:03:10 +02:00
m_property.h
m_struct.c Make more option-parsing related function arguments const. 2010-02-25 22:32:28 +00:00
m_struct.h Make more option-parsing related function arguments const. 2010-02-25 22:32:28 +00:00
Makefile vo_xvmc: drop XvMC support 2011-05-09 20:27:16 +03:00
mangle.h
metadata.h
mixer.c audio: change external AO interface to "ao_[method](ao, ...)" 2011-04-09 03:03:22 +03:00
mixer.h audio: change external AO interface to "ao_[method](ao, ...)" 2011-04-09 03:03:22 +03:00
mp_core.h find_subfiles: move sub_filenames() here 2011-04-20 04:22:52 +03:00
mp_fifo.c input: rewrite -key-fifo-size limiting logic 2011-05-02 00:44:21 +03:00
mp_fifo.h Merge svn changes up to r30475 2010-03-09 19:18:43 +02:00
mp_msg.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
mp_msg.h mp_msg: Remove uses of MSGT_MENCODER 2011-01-25 03:15:18 +02:00
mp_osd.h options: more mplayer.c options moved to option struct 2010-11-14 00:14:56 +02:00
mpbswap.h Merge svn changes up to r30475 2010-03-09 19:18:43 +02:00
mpcommon.c cleanup: remove unused MEncoder-related code 2011-01-25 02:29:31 +02:00
mpcommon.h subs: move vobsub loading logic down to find_subfiles.c 2011-04-20 04:22:52 +03:00
mplayer.c input: add useful default pointer button bindings 2011-06-14 19:58:55 +03:00
mplayer.h options: move sub_name, sub_auto and vobsub_name to struct 2011-04-20 04:22:52 +03:00
options.h Merge branch 'mplayer1_changes' 2011-05-02 00:46:03 +03:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
parser-mpcmd.h
path.c bstr.[ch], path.[ch]: add string and path handling functions 2011-02-26 16:40:31 +02:00
path.h bstr.[ch], path.[ch]: add string and path handling functions 2011-02-26 16:40:31 +02:00
playtree.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
playtree.h Merge svn changes up to r30475 2010-03-09 19:18:43 +02:00
playtreeparser.c playtreeparser.c: Add playlist parser for .nsc files 2010-12-16 06:22:53 +02:00
playtreeparser.h cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf" 2010-05-29 17:20:44 +03:00
pnm_loader.c vo_gl: Move the read_pnm function into a separate file 2010-11-02 04:18:37 +02:00
pnm_loader.h vo_gl: Move the read_pnm function into a separate file 2010-11-02 04:18:37 +02:00
README documentation: remove Changelog, rewrite README 2011-02-15 12:04:32 +02:00
subopt-helper.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
subopt-helper.h
talloc.c
talloc.h
version.sh build: change version number generation 2011-02-19 19:07:12 +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.