aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pcm_tablegen.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-05-11 10:39:02 +0200
committerNiklas Haas <git@haasn.dev>2023-05-13 17:38:20 +0200
commitc65e481330c937ba5839a5c0912dadd98f14f47d (patch)
treec0c603c8d8cb0da15292878a1d7df315f2677477 /libavcodec/pcm_tablegen.h
parente076d8a9b3893886e7c7abd67cf715db40788a44 (diff)
downloadffmpeg-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/pcm_tablegen.h')
0 files changed, 0 insertions, 0 deletions