Before this, the filter blindly casts to AVVulkanDeviceContext and passes invalid values to libplacebo if it's not.