summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/contribute.md10
-rw-r--r--DOCS/edl-mpv.rst43
-rw-r--r--DOCS/interface-changes.rst18
-rw-r--r--DOCS/man/input.rst19
-rw-r--r--DOCS/man/libmpv.rst59
-rw-r--r--DOCS/man/lua.rst5
-rw-r--r--DOCS/man/mpv.rst6
-rw-r--r--DOCS/man/options.rst219
-rw-r--r--DOCS/mplayer-changes.rst5
-rw-r--r--TOOLS/__init__.py0
-rwxr-xr-xTOOLS/file2string.py14
-rwxr-xr-xTOOLS/matroska.py21
-rw-r--r--audio/decode/ad.h7
-rw-r--r--audio/decode/ad_lavc.c87
-rw-r--r--audio/decode/ad_spdif.c95
-rw-r--r--audio/decode/dec_audio.c21
-rw-r--r--audio/decode/dec_audio.h2
-rw-r--r--audio/filter/af_lavfi.c8
-rw-r--r--audio/filter/af_lavrresample.c3
-rw-r--r--audio/out/ao_oss.c18
-rw-r--r--audio/out/ao_wasapi.c12
-rw-r--r--audio/out/ao_wasapi.h2
-rw-r--r--audio/out/ao_wasapi_changenotify.c2
-rw-r--r--audio/out/ao_wasapi_utils.c41
-rw-r--r--audio/out/push.c7
-rw-r--r--common/av_common.c128
-rw-r--r--common/av_common.h5
-rw-r--r--common/av_log.c8
-rw-r--r--common/codecs.c69
-rw-r--r--common/encode_lavc.c2
-rw-r--r--common/recorder.c384
-rw-r--r--common/recorder.h21
-rw-r--r--demux/cue.c2
-rw-r--r--demux/demux.c137
-rw-r--r--demux/demux.h6
-rw-r--r--demux/demux_disc.c28
-rw-r--r--demux/demux_edl.c152
-rw-r--r--demux/demux_lavf.c54
-rw-r--r--demux/demux_mf.c5
-rw-r--r--demux/demux_mkv.c30
-rw-r--r--demux/demux_mkv_timeline.c2
-rw-r--r--demux/demux_playlist.c2
-rw-r--r--demux/demux_timeline.c180
-rw-r--r--demux/demux_tv.c7
-rw-r--r--demux/ebml.c2
-rw-r--r--demux/packet.c24
-rw-r--r--demux/packet.h2
-rw-r--r--demux/timeline.c4
-rw-r--r--demux/timeline.h4
-rw-r--r--etc/input.conf2
-rw-r--r--etc/restore-old-bindings.conf4
-rw-r--r--input/input.c10
-rw-r--r--input/input.h3
-rw-r--r--libmpv/client.h3
-rw-r--r--libmpv/opengl_cb.h9
-rw-r--r--misc/charset_conv.c89
-rw-r--r--misc/charset_conv.h1
-rw-r--r--options/options.c30
-rw-r--r--options/options.h11
-rw-r--r--options/parse_configfile.c3
-rw-r--r--osdep/atomic.h19
-rw-r--r--osdep/mpv.rc2
-rw-r--r--osdep/windows_utils.c8
-rw-r--r--osdep/windows_utils.h4
-rw-r--r--player/audio.c2
-rw-r--r--player/client.c19
-rw-r--r--player/command.c162
-rw-r--r--player/core.h40
-rw-r--r--player/external_files.c21
-rw-r--r--player/lavfi.c26
-rw-r--r--player/loadfile.c287
-rw-r--r--player/lua.c2
-rw-r--r--player/lua/defaults.lua10
-rw-r--r--player/lua/osc.lua62
-rw-r--r--player/lua/ytdl_hook.lua90
-rw-r--r--player/main.c13
-rw-r--r--player/misc.c71
-rw-r--r--player/osd.c18
-rw-r--r--player/playloop.c6
-rw-r--r--player/screenshot.c16
-rw-r--r--player/scripting.c44
-rw-r--r--player/video.c34
-rw-r--r--stream/cache.c4
-rw-r--r--stream/stream.c67
-rw-r--r--stream/stream.h26
-rw-r--r--stream/stream_avdevice.c2
-rw-r--r--stream/stream_bluray.c3
-rw-r--r--stream/stream_cdda.c1
-rw-r--r--stream/stream_dvb.c3
-rw-r--r--stream/stream_dvd.c1
-rw-r--r--stream/stream_dvdnav.c3
-rw-r--r--stream/stream_edl.c2
-rw-r--r--stream/stream_file.c4
-rw-r--r--stream/stream_lavf.c1
-rw-r--r--stream/stream_mf.c1
-rw-r--r--stream/stream_tv.c1
-rw-r--r--stream/tv.c5
-rw-r--r--stream/tvi_dummy.c5
-rw-r--r--sub/ass_mp.c3
-rw-r--r--sub/dec_sub.c14
-rw-r--r--sub/dec_sub.h3
-rw-r--r--sub/osd.c2
-rw-r--r--sub/osd.h11
-rw-r--r--sub/osd_dummy.c8
-rw-r--r--sub/osd_libass.c28
-rw-r--r--sub/osd_state.h6
-rw-r--r--sub/sd_ass.c4
-rw-r--r--sub/sd_lavc.c48
-rw-r--r--ta/ta_talloc.h2
-rw-r--r--video/decode/dec_video.c100
-rw-r--r--video/decode/dec_video.h3
-rw-r--r--video/decode/hw_cuda.c (renamed from video/decode/cuda.c)41
-rw-r--r--video/decode/hw_d3d11va.c (renamed from video/decode/d3d11va.c)2
-rw-r--r--video/decode/hw_dxva2.c (renamed from video/decode/dxva2.c)47
-rw-r--r--video/decode/hw_vaapi.c171
-rw-r--r--video/decode/hw_vaapi_old.c (renamed from video/decode/vaapi.c)166
-rw-r--r--video/decode/hw_vdpau.c (renamed from video/decode/vdpau.c)56
-rw-r--r--video/decode/hw_videotoolbox.c (renamed from video/decode/videotoolbox.c)0
-rw-r--r--video/decode/lavc.h25
-rw-r--r--video/decode/vd.h9
-rw-r--r--video/decode/vd_lavc.c362
-rw-r--r--video/filter/vf.c17
-rw-r--r--video/filter/vf.h7
-rw-r--r--video/filter/vf_lavfi.c90
-rw-r--r--video/hwdec.h9
-rw-r--r--video/mp_image.c20
-rw-r--r--video/mp_image_pool.c64
-rw-r--r--video/mp_image_pool.h3
-rw-r--r--video/out/cocoa/events_view.m19
-rw-r--r--video/out/cocoa/window.h5
-rw-r--r--video/out/cocoa/window.m87
-rw-r--r--video/out/cocoa_common.m194
-rw-r--r--video/out/drm_common.c2
-rw-r--r--video/out/opengl/angle_dynamic.h7
-rw-r--r--video/out/opengl/context.c2
-rw-r--r--video/out/opengl/context.h5
-rw-r--r--video/out/opengl/context_angle.c897
-rw-r--r--video/out/opengl/context_drm_egl.c2
-rw-r--r--video/out/opengl/context_dxinterop.c23
-rw-r--r--video/out/opengl/context_w32.c14
-rw-r--r--video/out/opengl/context_wayland.c3
-rw-r--r--video/out/opengl/context_x11.c23
-rw-r--r--video/out/opengl/context_x11egl.c34
-rw-r--r--video/out/opengl/egl_helpers.c70
-rw-r--r--video/out/opengl/egl_helpers.h16