mirror of https://github.com/mpv-player/mpv
e6bea0ec5a
I find this annoying. It's the reason common/version.c exists at all. options.c did this for the user agent, which contains the version number. Because not including version.h means you can't build the user agent and use it in mp_default_opts anymore, do something rather awkward in main.c to initialize the default user agent. |
||
---|---|---|
.. | ||
asxparser.c | ||
asxparser.h | ||
av_common.c | ||
av_common.h | ||
av_log.c | ||
av_log.h | ||
av_opts.c | ||
av_opts.h | ||
codecs.c | ||
codecs.h | ||
common.c | ||
common.h | ||
cpudetect.c | ||
cpudetect.h | ||
encode.h | ||
encode_lavc.c | ||
encode_lavc.h | ||
global.h | ||
msg.c | ||
msg.h | ||
playlist.c | ||
playlist.h | ||
playlist_parser.c | ||
playlist_parser.h | ||
version.c |