Files
mpv/filters
Kacper Michajłow 47cb503bf5 f_hwtransfer: fix best upload format selection
It is possible for a format to be supported by hardware but not by
av_hwframe_transfer for uploading. This breaks the best upload format
selection. We first select the hardware input format and then choose the
best software format that can be uploaded. In some cases, this may
result in a format that is not uploadable at all, leading to an error.
To solve this, we should avoid adding non-uploadable formats to the fmts
table.

For example, for format d3d11/yuv420p, av_hwframe_transfer_get_formats()
returns empty list of formats.
2024-08-27 01:27:48 +02:00
..
2021-11-03 15:15:20 +01:00
2022-04-25 09:07:18 -04:00
2023-03-28 19:29:44 +00:00
2019-09-19 20:37:04 +02:00
2019-09-19 20:37:04 +02:00