mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
83c0e98047
This may seem obvious in retrospect, but we need to explicitly account for the case where the source format is supported by the VO, but not a valid target format for the conversion filter. In that situation, we would conclude that conversion was necessary, because we relied solely on the conversion filter to identify acceptable target formats. To avoid that, we should go through the VO's reported set of supported formats and if the source format is on the list, ensure that format is also on the target list. This is mostly a no-op as most VOs do not report supported formats (instead assuming that all formats decoders can produce are supported) and in the case where it matters (vaapi), there is only one format that the VO supports which the conversion filter does not (yuv444p). |
||
---|---|---|
.. | ||
f_async_queue.c | ||
f_async_queue.h | ||
f_auto_filters.c | ||
f_auto_filters.h | ||
f_autoconvert.c | ||
f_autoconvert.h | ||
f_decoder_wrapper.c | ||
f_decoder_wrapper.h | ||
f_demux_in.c | ||
f_demux_in.h | ||
f_hwtransfer.c | ||
f_hwtransfer.h | ||
f_lavfi.c | ||
f_lavfi.h | ||
f_output_chain.c | ||
f_output_chain.h | ||
f_swresample.c | ||
f_swresample.h | ||
f_swscale.c | ||
f_swscale.h | ||
f_utils.c | ||
f_utils.h | ||
filter_internal.h | ||
filter.c | ||
filter.h | ||
frame.c | ||
frame.h | ||
user_filters.c | ||
user_filters.h |