mirror of https://github.com/mpv-player/mpv
d3bef0286b
Selecting the colorspace to output from a decoder is done in the function mpcodecs_config_vo(). Add a new version of this function, mpcodecs_config_vo2(), that allows the decoder to specify a list of candidate colorspaces instead of always using a hardcoded list specified in the codecs.conf entry. If the codecs.conf entry has any "out" lines then those still take priority and the decoder-provided list (if any) is ignored. Make vd_ffmpeg provide a list of the colorspaces it's willing to output. Remove "out" lines from most entries for libavcodec video decoders in codecs.conf, so that the automatic values are now used instead. |
||
---|---|---|
.. | ||
codecs.conf | ||
dvb-menu.conf | ||
example.conf | ||
input.conf | ||
inttypes.h | ||
menu.conf | ||
mplayer.desktop | ||
mplayer.ico | ||
mplayer.xpm |