1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 04:45:33 +00:00
mpv/audio
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
..
decode codecs: remove unused family field 2018-02-01 10:21:55 +01:00
filter af_scaletempo: output minimally sized audio frame 2018-02-03 05:01:29 -08:00
out encode: rewrite half of it 2018-04-29 02:21:32 +03:00
aframe.c audio: don't touch spdif frames in mp_aframe_clip_timestamps() 2018-02-13 17:45:29 -08:00
aframe.h audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
audio_buffer.c
audio_buffer.h
chmap_sel.c
chmap_sel.h
chmap.c
chmap.h
fmt-conversion.c
fmt-conversion.h
format.c audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
format.h audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00