mirror of https://github.com/mpv-player/mpv
db8cdc73e3
Change various code to use the latest Libav API. The libavcodec error_recognition setting has been removed and replaced with different semantics. I removed the "--lavdopts=er=<value>" option accordingly, as I don't think it's widely enough used to be worth attempting to emulate the old option semantics using the new API. A new option with the new semantics can be added later if needed. Libav dropped APIs that were necessary with all Libav versions until quite recently (like setting avctx->age), and it would thus not be possible to keep compatibility with previous Libav versions without adding workarounds. The new APIs also had some bugs/limitations in the recent Libav release 0.8, and it would not work fully (at least some avcodec options would not be set correctly). Because of those issues, this commit makes no attempt to maintain compatibility with anything but the latest Libav git head. Hopefully the required fixes and improvements will be included in a following Libav point release. |
||
---|---|---|
.. | ||
ass_mp.c | ||
ass_mp.h | ||
av_sub.c | ||
av_sub.h | ||
dec_sub.c | ||
dec_sub.h | ||
find_sub.c | ||
find_subfiles.c | ||
find_subfiles.h | ||
font_load.c | ||
font_load.h | ||
font_load_ft.c | ||
osd_font.h | ||
sd.h | ||
sd_ass.c | ||
spudec.c | ||
spudec.h | ||
sub.c | ||
sub.h | ||
sub_cc.c | ||
sub_cc.h | ||
subassconvert.c | ||
subassconvert.h | ||
subreader.c | ||
subreader.h | ||
unrar_exec.c | ||
unrar_exec.h | ||
vobsub.c | ||
vobsub.h |