Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding custom acv file causes crash #9

Closed
MarcAnthonyPhotography opened this issue Aug 3, 2017 · 1 comment
Closed

Adding custom acv file causes crash #9

MarcAnthonyPhotography opened this issue Aug 3, 2017 · 1 comment

Comments

@MarcAnthonyPhotography
Copy link

MarcAnthonyPhotography commented Aug 3, 2017

MetalImageToneCurveFilter crashes with using custom acv file. I get this.

MetalVideoFilter[9484:4178299] failed to init ACVFile with data:(null)
validateComputeFunctionArguments:720: failed assertion `missing buffer binding at index 0 for curveBuffer[0].'

Then line 191 of MetalImageToneCurveFilter.mm is highlighted. This line [cmputEncoder dispatchThreadgroups:_threadGroupCount threadsPerThreadgroup:_threadGroupSize];

@erickingxu
Copy link
Owner

Hi Marc
I think it is a resource loading failed error, maybe you should add acv file into item "Copy Bundle Resources" in Build Phases .
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants