diff options
author | Niklas Haas <git@haasn.dev> | 2025-06-16 14:52:13 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2025-06-20 15:13:25 +0200 |
commit | f883b7cf93ed56fbd54e285f6c5f27241ee195f2 (patch) | |
tree | cc48f95f5259d62efd420596385569b544340a14 /libavformat/tls_openssl.c | |
parent | 88ac69631e04f6f8767c90ea04a056c7aef5f855 (diff) | |
download | ffmpeg-f883b7cf93ed56fbd54e285f6c5f27241ee195f2.tar.gz |
avfilter/vf_libplacebo: list AV_PIX_FMT_VULKAN first
Under normal circumstances, this change does not affect anything, as the vast
majority of filters either support only vulkan or only software formats.
However, when a filter supports both (such as vf_libplacebo itself, and
possibly vf_scale in the future), linking together two such filter instances
without an explicit format will default matching the input format, resulting
in a redundant round trip through host RAM.
This change bumps up AV_PIX_FMT_VULKAN to the first entry in the format list,
ensuring that it gets preferred whenever possible.
Diffstat (limited to 'libavformat/tls_openssl.c')
0 files changed, 0 insertions, 0 deletions