1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-27 19:01:07 +00:00
Command line video player
Go to file
wm4 9a2f4e10e7 mplayer: never exit mplayer from within the play loop
The only place exit_player() should be called is the main() function.
exit_player() should be the only function allowed to call exit(). This
makes it easier to guarantee proper deinitialization, and allows using
the --leak-report flag without showing false positives.

The quit slave command now sets a flag only. It uses the same mechanism
that's normally used to advance to the next file on the playlist, so the
rest of the playback path should be able to react to the quit command
quickly enough. That is, the player should react just as fast to quit
requests in practice as before this commit.

In reinit_audio_chain(), the player was actually exited if
init_audio_filters() failed. Reuse the normal error handling path to
handle this condition.
2012-08-04 19:59:56 +02:00
debian
DOCS stream: add new stream control command STREAM_CTRL_GET_NUM_TITLES 2012-08-03 01:43:03 +02:00
etc example.conf: add bandwidth example 2012-08-03 01:49:35 +02:00
ffmpeg_files
input Remove teletext support 2012-08-03 00:12:46 +02:00
libaf reorder_ch: support reordering 8 channels to AAC layout 2012-08-03 03:34:38 +02:00
libao2 ao_alsa: cleanup use of vsnprintf 2012-08-03 02:18:29 +02:00
libmpcodecs vf_unsharp: direct rendering fixes 2012-08-03 03:38:45 +02:00
libmpdemux demuxer: introduce a general stream struct 2012-08-03 13:25:41 +02:00
libvo mplayer: never exit mplayer from within the play loop 2012-08-04 19:59:56 +02:00
loader loader: remove weird kstat thing 2012-08-03 01:00:55 +02:00
osdep cache2: allow cache sizes up to 4 TB 2012-08-03 01:52:40 +02:00
rpm
stream mplayer, stream_tv: move variable initialization 2012-08-03 04:51:55 +02:00
sub sub: simplify code by always defining sub_cp 2012-08-03 06:53:10 +02:00
timeline mp_msg: remove filename_recode 2012-07-31 01:35:53 +02:00
TOOLS TOOLS/fil2string.py: fix for use with binary files 2012-07-28 23:36:08 +02:00
.gitignore manpage: merge new manpage 2012-08-02 22:05:27 +02:00
asxparser.c Remove dead code 2012-08-01 17:07:35 +02:00
asxparser.h mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
AUTHORS
av_log.c stream_ffmpeg: fix broken line from 30afc64532 2012-04-18 01:27:55 +03:00
av_log.h
av_opts.c
av_opts.h
bstr.c Merge remote-tracking branch 'origin/master' 2012-07-28 17:24:05 +02:00
bstr.h bstr.h: fix compilation with C++ 2012-08-03 03:34:38 +02:00
cfg-mplayer.h options: fix forgotten --sound => --audio rename 2012-08-03 13:25:57 +02:00
codec-cfg.c libmpcodecs: add support for 422P9 2012-08-03 01:43:03 +02:00
codec-cfg.h video, audio: use lavc decoders without codecs.conf entries 2012-07-24 09:01:47 +03:00
command.c mplayer: never exit mplayer from within the play loop 2012-08-04 19:59:56 +02:00
command.h
configure configure: fix directx check on Cygwin 2012-08-03 03:34:38 +02:00
Copyright
cpudetect.c cpudetect: remove unused/forgotten crap 2012-08-01 23:49:06 +02:00
cpudetect.h cpudetect: remove unused/forgotten crap 2012-08-01 23:49:06 +02:00
defaultopts.c mplayer: expand --title as property, remove --use-filename-title 2012-08-02 02:37:00 +02:00
defaultopts.h
fmt-conversion.c libmpcodecs: add support for 422P9 2012-08-03 01:43:03 +02:00
fmt-conversion.h
LICENSE
m_config.c m_config: reallow specifying static default values for string options 2012-08-02 02:37:00 +02:00
m_config.h mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
m_option.c libmpcodecs: add support for 422P9 2012-08-03 01:43:03 +02:00
m_option.h options: remove "no" options variants 2012-07-30 02:02:23 +02:00
m_property.c bstr: rename bstr() function to bstr0(), and typedef bstr to struct bstr 2012-07-28 23:47:42 +02:00
m_property.h
m_struct.c Remove dead code 2012-08-01 17:07:35 +02:00
m_struct.h Remove dead code 2012-08-01 17:07:35 +02:00
Makefile AF: remove af_stats 2012-08-03 02:05:23 +02:00
mangle.h mangle: change preprocessor define for macosx 2012-08-01 08:46:20 +02:00
metadata.h
mixer.c mixer: silence message about inserting volume filter 2012-07-30 01:46:04 +02:00
mixer.h mixer: support native audio driver mute 2012-04-11 03:56:28 +03:00
mp_core.h mplayer: never exit mplayer from within the play loop 2012-08-04 19:59:56 +02:00
mp_fifo.c
mp_fifo.h
mp_msg.c mp_msg: remove filename_recode 2012-07-31 01:35:53 +02:00
mp_msg.h mp_msg: remove filename_recode 2012-07-31 01:35:53 +02:00
mp_osd.h mplayer: make display of playback status more uniform 2012-08-01 00:42:06 +02:00
mpbswap.h
mpcommon.c Change version string 2012-07-29 00:04:17 +02:00
mpcommon.h mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
mplayer.c mplayer: never exit mplayer from within the play loop 2012-08-04 19:59:56 +02:00
mplayer.h libvo: remove exit_player_bad() 2012-07-30 15:46:05 +02:00
options.h mplayer: rip out --capture support 2012-08-02 23:22:52 +02:00
parser-cfg.c mplayer: never exit mplayer from within the play loop 2012-08-04 19:59:56 +02:00
parser-cfg.h
parser-mpcmd.c mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
parser-mpcmd.h mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
path.c bstr: rename bstr() function to bstr0(), and typedef bstr to struct bstr 2012-07-28 23:47:42 +02:00
path.h
playlist_parser.c mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
playlist_parser.h mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
playlist.c playlist: rename params_count field to num_params for consistency 2012-08-04 19:59:55 +02:00
playlist.h playlist: rename params_count field to num_params for consistency 2012-08-04 19:59:55 +02:00
pnm_loader.c
pnm_loader.h
README osd: remove freetype font rendering code 2012-07-28 23:36:08 +02:00
screenshot.c bstr: rename bstr() function to bstr0(), and typedef bstr to struct bstr 2012-07-28 23:47:42 +02:00
screenshot.h
subopt-helper.c Remove dead code 2012-08-01 17:07:35 +02:00
subopt-helper.h Remove dead code 2012-08-01 17:07:35 +02:00
talloc.c
talloc.h
version.sh Change version string 2012-07-29 00:04:17 +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 (for libass)
 - libfontconfig (for libass)
 - 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.