GPUImage
GPUImage copied to clipboard
FileConfig filter chain crash w/ Contrast Attributes
I tried using the filter chain in the FilterShowcase example to add a contrast filter
I replaced the sepia filter with the contrast filter + Attributes and it crashes immediately upon selecting the chain list item
{SampleConfiguration.plist} Filters ....Item 0 ........FilterName (string) GPUImageContrastFilter ........Attributes (Dictionary) ............setContrast (string) float(4.0) {remaining is the same}
If I remove the Attributes parameter, the pipeline works (but no contrast)
I ran into this too but noticed I left out the semicolon. In your example it would be "setContrast:"
Oops. Not semicolon. It should be colon.