Improve setting AVOptions

Use OPT_KEYVALUELIST() for all places where AVOptions are directly set
from mpv command line options. This allows escaping values, better
diagnostics (also no more "pal"), and somehow reduces code size.

Remove the old crappy option parser (av_opts.c).
This commit is contained in:
wm4
2014-08-02 03:12:09 +02:00
parent 0c6c2da8bc
commit d68a759fa4
13 changed files with 66 additions and 149 deletions

View File

@@ -149,7 +149,6 @@ SOURCES = audio/audio.c \
bstr/bstr.c \
common/av_common.c \
common/av_log.c \
common/av_opts.c \
common/codecs.c \
common/common.c \
common/msg.c \