Re: [FFmpeg-devel] [PATCH v2] hwcontext_vulkan: workaround MoltenVK's bug which leads to segmentation fault

2022-01-27 Thread zhilizhao(赵志立)
> On Jan 27, 2022, at 5:07 PM, Lynne wrote: > > 27 Jan 2022, 09:38 by quinkbl...@foxmail.com: > >> MoltenVK doesn't reset instance when CreateInstance() failed, >> then DestroyInstance() leads to segmentation fault. MoltenVK's bug >> has been fixed by [1], which doesn't available on homebrew

Re: [FFmpeg-devel] [PATCH v2] hwcontext_vulkan: workaround MoltenVK's bug which leads to segmentation fault

2022-01-27 Thread Lynne
27 Jan 2022, 09:38 by quinkbl...@foxmail.com: > MoltenVK doesn't reset instance when CreateInstance() failed, > then DestroyInstance() leads to segmentation fault. MoltenVK's bug > has been fixed by [1], which doesn't available on homebrew yet. > Regardless MoltenVK's bug, we shouldn't call

[FFmpeg-devel] [PATCH v2] hwcontext_vulkan: workaround MoltenVK's bug which leads to segmentation fault

2022-01-27 Thread Zhao Zhili
MoltenVK doesn't reset instance when CreateInstance() failed, then DestroyInstance() leads to segmentation fault. MoltenVK's bug has been fixed by [1], which doesn't available on homebrew yet. Regardless MoltenVK's bug, we shouldn't call DestroyInstance() in the case of CreateInstance() failed, so