diff options
author | Niklas Haas <git@haasn.dev> | 2023-05-11 10:39:02 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-05-13 17:38:20 +0200 |
commit | c65e481330c937ba5839a5c0912dadd98f14f47d (patch) | |
tree | c0c603c8d8cb0da15292878a1d7df315f2677477 /libavcodec/webvttenc.c | |
parent | e076d8a9b3893886e7c7abd67cf715db40788a44 (diff) | |
download | ffmpeg-c65e481330c937ba5839a5c0912dadd98f14f47d.tar.gz |
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
Diffstat (limited to 'libavcodec/webvttenc.c')
0 files changed, 0 insertions, 0 deletions