1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 04:45:33 +00:00
mpv/player
wm4 6c8362ef54 encode: rewrite half of it
The main change is that we wait with opening the muxer ("writing
headers") until we have data from all streams. This fixes race
conditions at init due to broken assumptions in the old code.

This also changes a lot of other stuff. I found and fixed a few API
violations (often things for which better mechanisms were invented, and
the old ones are not valid anymore). I try to get away from the public
mutex and shared fields in encode_lavc_context. For now it's still
needed for some timestamp-related fields, but most are gone. It also
removes some bad code duplication between audio and video paths.
2018-04-29 02:21:32 +03:00
..
javascript js: use new hooks API (match f60826c3) 2018-04-07 16:02:20 -07:00
lua ytdl_hook: don't log error when loading is aborted 2018-04-15 21:07:13 +03:00
audio.c audio: fix EOF handling if there was no data at all 2018-04-20 12:34:43 +02:00
client.c client API: preparations for allowing render API to use DR etc. 2018-04-29 02:21:32 +03:00
client.h client API: preparations for allowing render API to use DR etc. 2018-04-29 02:21:32 +03:00
command.c video: remove internal stereo_out flag 2018-04-29 02:21:32 +03:00
command.h player: fix hook processing consistency and code duplication issues 2018-03-26 23:06:50 -07:00
configfiles.c player: silence config file loading message on resuming 2018-01-13 03:26:45 -08:00
core.h player: remove in_dispatch field 2018-04-18 01:17:42 +03:00
external_files.c player: make track language matching case insensitive 2017-12-23 15:14:13 -07:00
external_files.h external_files: change license to LGPL 2017-06-20 14:22:10 +02:00
javascript.c js: use new hooks API (match f60826c3) 2018-04-07 16:02:20 -07:00
loadfile.c encode: rewrite half of it 2018-04-29 02:21:32 +03:00
lua.c client API: add a first class hook API, and deprecate old API 2018-03-26 23:02:23 -07:00
main.c encode: rewrite half of it 2018-04-29 02:21:32 +03:00
misc.c options: move most subtitle and OSD rendering options to sub structs 2018-01-02 14:27:37 -08:00
osd.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
playloop.c player: remove in_dispatch field 2018-04-18 01:17:42 +03:00
screenshot.c vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
screenshot.h player: make screenshot commands honor the async flag 2017-04-01 20:47:23 +02:00
scripting.c scripting: change when/how player waits for scripts being loaded 2018-04-18 01:17:41 +03:00
sub.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
video.c encode: rewrite half of it 2018-04-29 02:21:32 +03:00