1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-31 07:51:55 +00:00
Command line video player
Go to file
wm4 a2098326da network: fix crash with -playlist http://...
The function fixup_network_stream_cache() accesses stream->opts, which
is NULL in some cases when loading playlists. stream->opts is a pointer
to the global MPOpts struct. For simplicity, this parameter is left
NULL in some cases. Usually, this doesn't matter, because barely
anything in stream/ uses MPOpts anyway.

Hack-fix this for now by not accessing MPOpts and disabling the stream
cache in this case. Calling open_stream() with options==NULL now
basically means: do not use cache settings.
2012-11-14 00:46:15 +01:00
audio mixer: fix lowering hw volume while muted 2012-11-14 00:46:15 +01:00
compat Add MP_NORETURN and replace av_noreturn uses 2012-11-12 20:10:23 +01:00
core clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
demux Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
DOCS Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
etc example.conf: remove some useless options, add some useful ones 2012-11-11 18:10:14 +01:00
osdep Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream network: fix crash with -playlist http://... 2012-11-14 00:46:15 +01:00
sub clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
TOOLS mpv_identify: stop using \n; fix property name handling 2012-11-12 17:54:45 +01:00
video clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
.gitignore Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
AUTHORS documentation: remove Changelog, rewrite README 2011-02-15 12:04:32 +02:00
configure clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
Copyright Rename to "mpv" 2012-10-12 10:14:32 +02:00
LICENSE Copyright, LICENSE: change binary license to GPL 3 2011-03-24 23:40:29 +02:00
Makefile Makefile: fix install targets 2012-11-13 09:40:55 +01:00
README osd: remove freetype font rendering code 2012-07-28 23:36:08 +02:00
talloc.c talloc: fix strndup group of functions 2012-10-12 10:10:32 +02:00
talloc.h clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
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.