summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/en/mplayer.195
-rw-r--r--Makefile6
-rw-r--r--access_mpcontext.h1
-rw-r--r--av_log.c5
-rw-r--r--av_opts.c2
-rw-r--r--bstr.c114
-rw-r--r--bstr.h53
-rw-r--r--cfg-common.h712
-rw-r--r--cfg-mplayer.h684
-rw-r--r--command.c11
-rwxr-xr-xconfigure17
-rw-r--r--defaultopts.c1
-rw-r--r--input/appleir.c4
-rw-r--r--input/ar.c1
-rw-r--r--input/ar.h12
-rw-r--r--input/input.c1941
-rw-r--r--input/input.h8
-rw-r--r--input/joystick.h34
-rw-r--r--input/keycodes.h194
-rw-r--r--input/mouse.h46
-rw-r--r--libaf/af_ladspa.c25
-rw-r--r--libaf/af_lavcresample.c2
-rw-r--r--libao2/ao_alsa.c8
-rw-r--r--libao2/ao_esd.c2
-rw-r--r--libao2/audio_out.c148
-rw-r--r--libao2/audio_out.h23
-rw-r--r--libao2/audio_out_internal.h2
-rw-r--r--libmenu/menu.c2
-rw-r--r--libmenu/menu_console.c2
-rw-r--r--libmenu/menu_dvbin.c2
-rw-r--r--libmenu/menu_filesel.c2
-rw-r--r--libmenu/menu_list.c2
-rw-r--r--libmenu/menu_txt.c2
-rw-r--r--libmpcodecs/ad_ffmpeg.c2
-rw-r--r--libmpcodecs/pullup.c12
-rw-r--r--libmpcodecs/pullup.h5
-rw-r--r--libmpcodecs/vd_ffmpeg.c10
-rw-r--r--libmpcodecs/vf.c84
-rw-r--r--libmpcodecs/vf.h16
-rw-r--r--libmpcodecs/vf_bmovl.c12
-rw-r--r--libmpcodecs/vf_detc.c13
-rw-r--r--libmpcodecs/vf_divtc.c7
-rw-r--r--libmpcodecs/vf_filmdint.c5
-rw-r--r--libmpcodecs/vf_geq.c4
-rw-r--r--libmpcodecs/vf_ivtc.c15
-rw-r--r--libmpcodecs/vf_lavc.c3
-rw-r--r--libmpcodecs/vf_phase.c2
-rw-r--r--libmpcodecs/vf_pp.c2
-rw-r--r--libmpcodecs/vf_pp7.c4
-rw-r--r--libmpcodecs/vf_pullup.c38
-rw-r--r--libmpcodecs/vf_softpulldown.c31
-rw-r--r--libmpcodecs/vf_telecine.c67
-rw-r--r--libmpcodecs/vf_tile.c5
-rw-r--r--libmpcodecs/vf_tinterlace.c10
-rw-r--r--libmpcodecs/vf_yadif.c2
-rw-r--r--libmpdemux/demux_edl.c58
-rw-r--r--libmpdemux/demux_lavf.c25
-rw-r--r--libmpdemux/demux_ogg.c16
-rw-r--r--libmpdemux/demux_ts.c2
-rw-r--r--libmpdemux/demuxer.c67
-rw-r--r--libmpdemux/demuxer.h482
-rw-r--r--libvo/osx_common.c2
-rw-r--r--libvo/sdl_common.c3
-rw-r--r--libvo/vo_3dfx.c2
-rw-r--r--libvo/vo_aa.c2
-rw-r--r--libvo/vo_caca.c2
-rw-r--r--libvo/vo_corevideo.m4
-rw-r--r--libvo/vo_dfbmga.c3
-rw-r--r--libvo/vo_dga.c2
-rw-r--r--libvo/vo_directfb2.c3
-rw-r--r--libvo/vo_directx.c3
-rw-r--r--libvo/vo_fbdev.c1
-rw-r--r--libvo/vo_ggi.c4
-rw-r--r--libvo/vo_kva.c3
-rw-r--r--libvo/vo_quartz.c4
-rw-r--r--libvo/w32_common.c3
-rw-r--r--libvo/x11_common.c14
-rw-r--r--libvo/x11_common.h8
-rw-r--r--m_option.c9
-rw-r--r--m_option.h11
-rw-r--r--mixer.c8
-rw-r--r--mixer.h2
-rw-r--r--mp_core.h10
-rw-r--r--mp_fifo.c93
-rw-r--r--mpcommon.h7
-rw-r--r--mplayer.c565
-rw-r--r--mplayer.h2
-rw-r--r--options.h8
-rw-r--r--osdep/findfiles.c97
-rw-r--r--osdep/findfiles.h2
-rw-r--r--osdep/getch2-os2.c2
-rw-r--r--osdep/getch2-win.c2
-rw-r--r--osdep/getch2.c10
-rw-r--r--osdep/keycodes.h103
-rw-r--r--path.c43
-rw-r--r--path.h18
-rw-r--r--stream/pnm.c2
-rw-r--r--stream/stream.c34
-rw-r--r--stream/stream.h13
-rw-r--r--stream/stream_dvd.c23
-rw-r--r--stream/stream_dvd.h4
-rw-r--r--stream/stream_dvdnav.c16
-rw-r--r--stream/stream_dvdnav.h4
-rw-r--r--stream/stream_smb.c1
-rw-r--r--sub/ass_mp.c46
-rw-r--r--sub/find_subfiles.c275
-rw-r--r--sub/find_subfiles.h (renamed from cfg-mplayer-def.h)17
-rw-r--r--sub/sub.c2
-rw-r--r--sub/subreader.c280
-rw-r--r--sub/subreader.h3
-rw-r--r--sub/vobsub.c10
-rw-r--r--sub/vobsub.h2
-rw-r--r--timeline/tl_edl.c398
-rw-r--r--timeline/tl_matroska.c271
114 files changed, 4355 insertions, 3263 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1
index 53a27b51e4..efd71a63c3 100644
--- a/DOCS/man/en/mplayer.1
+++ b/DOCS/man/en/mplayer.1
@@ -780,10 +780,6 @@ Time in milliseconds to recognize two consecutive button presses as
a double-click (default: 300).
Set to 0 to let your windowing system decide what a double-click is
(\-vo directx only).
-.br
-.I NOTE:
-You will get slightly different behaviour depending on whether you bind
-MOUSE_BTN0_DBL or MOUSE_BTN0\-MOUSE_BTN0_DBL.
.
.TP
.B \-edlout <filename>
@@ -926,13 +922,10 @@ several 'echo "seek 10" > mp_pipe' and the pipe will stay valid.
.TP
.B \-key\-fifo\-size <2\-65000>
Specify the size of the FIFO that buffers key events (default: 7).
-A FIFO of size n can buffer (n\-1) events.
-If it is too small some events may be lost
-(leading to "stuck mouse buttons" and similar effects).
-If it is too big, MPlayer may seem to hang while it
-processes the buffered events.
-To get the same behavior as before this option was introduced,
-set it to 2 for Linux or 1024 for Windows.
+If it is too small some events may be lost.
+The main disadvantage of setting it to a very large value is that if you
+hold down a key triggering some particularly slow command then the player
+may be unresponsive while it processes all the queued commands.
.
.TP
.B \-lircconf <filename> (LIRC only)
@@ -1177,9 +1170,7 @@ Plays a Matroska file in Japanese.
Force audio demuxer type for \-audiofile.
Use a '+' before the name to force it, this will skip some checks!
Give the demuxer name as printed by \-audio\-demuxer help.
-For backward compatibility it also accepts the demuxer ID as defined in
-libmpdemux/\:demuxer.h.
-\-audio\-demuxer audio or \-audio\-demuxer 17 forces MP3.
+\-audio\-demuxer audio forces MP3.
.
.TP
.B \-audiofile <filename>
@@ -1356,8 +1347,6 @@ This nullifies stream delays.
Force demuxer type.
Use a '+' before the name to force it, this will skip some checks!
Give the demuxer name as printed by \-demuxer help.
-For backward compatibility it also accepts the demuxer ID as defined in
-libmpdemux/\:demuxer.h.
.
.TP
.B \-dumpaudio
@@ -1532,6 +1521,43 @@ Skip the proxy for IPv6 addresses.
It will still be used for IPv4 connections.
.
.TP
+.B \-lavfdopts <option1:option2:...>
+Specify parameters for libavformat demuxers (\-demuxer lavf).
+Separate multiple options with a colon.
+.sp
+.RS
+Available suboptions are:
+.RE
+.RSs
+.IPs analyzeduration=<value>
+Maximum length in seconds to analyze the stream properties.
+.IPs format=<value>
+Force a specific libavformat demuxer.
+.IPs o=<key>=<value>[,<key>=<value>[,...]]
+Pass AVOptions to libavformat demuxer.
+Note, a patch to make the o= unneeded and pass all unknown options through
+the AVOption system is welcome.
+A full list of AVOptions can be found in the FFmpeg manual.
+Note that some options may conflict with MPlayer options.
+.sp 1
+.RS
+.I EXAMPLE:
+.RE
+.RSs
+.PD 0
+.IPs o=fflags=+ignidx
+.PD 1
+.RE
+.IPs probesize=<value>
+Maximum amount of data to probe during the detection phase.
+In the case of MPEG-TS this value identifies the maximum number
+of TS packets to scan.
+.IPs cryptokey=<hexstring>
+Encryption key the demuxer should use.
+This is the raw binary data of the key converted to a hexadecimal string.
+.RE
+.
+.TP
.B \-loadidx <index file>
The file from which to read the video index data saved by \-saveidx.
This index will be used for seeking, overriding any index data
@@ -2462,8 +2488,6 @@ intensity of the color.
Force subtitle demuxer type for \-subfile.
Use a '+' before the name to force it, this will skip some checks!
Give the demuxer name as printed by \-sub\-demuxer help.
-For backward compatibility it also accepts the demuxer ID as defined in
-subreader.h.
.
.TP
.B \-sub\-fuzziness <mode>
@@ -2475,7 +2499,7 @@ exact match
.IPs 1
Load all subs containing movie name.
.IPs 2
-Load all subs in the current directory.
+Load all subs in the current and \-sub\-paths directories.
.RE
.PD 1
.
@@ -2542,6 +2566,31 @@ Guess the encoding for Polish, fall back on cp1250.
.PD 1
.
.TP
+.B \-sub\-paths <path1:path2:...>
+Specify extra directories where to search for subtitles matching the video.
+Multiple directories can be separated by ":" (";" on Windows).
+Paths can be relative or absolute.
+Relative paths are interpreted relative to video file directory.
+
+.sp 1
+.I EXAMPLE:
+Assuming that /path/\:to/\:movie/\:movie.avi is played and \-sub\-paths
+sub:subtitles:/tmp/subs is specified, MPlayer searches for subtitle files in
+these directories:
+.RSs
+/path/\:to/\:movie/
+.br
+/path/\:to/\:movie/\:sub/
+.br
+/path/\:to/\:movie/\:subtitles/
+.br
+/tmp/\:subs/
+.br
+~/.mplayer/\:sub/
+.RE
+.PD 1
+.
+.TP
.B \-subdelay <sec>
Delays subtitles by <sec> seconds.
Can be negative.
@@ -7689,14 +7738,6 @@ font directory (There must be a font.desc file and files with .RAW extension.)
.TP
~/.mplayer/\:DVDkeys/
cached CSS keys
-.
-.TP
-Assuming that /path/\:to/\:movie.avi is played, MPlayer searches for sub files
-in this order:
-.RS
-/path/\:to/\:movie.sub
-.br
-~/.mplayer/\:sub/\:movie.sub
.RE
.PD 1
.
diff --git a/Makefile b/Makefile
index f362a814ee..46fdeee81e 100644
--- a/Makefile
+++ b/