1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-02 20:35:37 +02:00
FFmpeg/libavfilter
Niklas Haas c65e481330 lavfi/vf_libplacebo: allow operation without avhwdevice
Recent versions of libplacebo have required Vulkan versions incompatible
with lavu Vulkan hwcontexts. While this is expected to change
eventually, breaking vf_libplacebo every time there is such a transition
period is obviously undesired behavior, as the following sea of bug
reports shows.

This commit adds a fallback path for init_vulkan failures which simply
creates an internal device if there was no user-supplied Vulkan hwaccel.
Useful when no interop with lavu vulkan hwframes is needed or desired,
and makes using this filter easier inside certain applications.

Fixes: https://github.com/haasn/libplacebo/issues/170
Fixes: https://github.com/mpv-player/mpv/issues/9589#issuecomment-1535432185
Fixes: https://github.com/mpv-player/mpv/issues/11363
Fixes: https://github.com/mpv-player/mpv/issues/11685#issuecomment-1546627082
Closes: https://code.videolan.org/videolan/libplacebo/-/issues/270
2023-05-13 17:38:20 +02:00
..
2023-04-28 11:07:41 +08:00
2022-07-07 17:52:32 +02:00
2022-12-19 20:43:58 +01:00
2023-05-10 13:56:34 +02:00
2023-05-04 19:20:03 -03:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2022-02-20 12:38:52 +01:00
2022-03-07 15:29:39 +01:00
2023-03-29 00:15:19 +02:00
2022-12-08 13:03:42 +01:00
2022-11-09 17:39:00 +01:00
2023-04-28 11:07:41 +08:00