GPUImage icon indicating copy to clipboard operation
GPUImage copied to clipboard

FileConfig filter chain crash w/ Contrast Attributes

Open iamcam opened this issue 14 years ago • 2 comments

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)

iamcam avatar May 15 '12 21:05 iamcam

I ran into this too but noticed I left out the semicolon. In your example it would be "setContrast:"

peterhwong avatar Jul 09 '12 21:07 peterhwong

Oops. Not semicolon. It should be colon.

peterhwong avatar Jul 10 '12 18:07 peterhwong