cats-oss/android-gpuimage

GpuImageView Flickering when using Group Filters

devarsh-mavani-19 opened this issue · 1 comments

the gpuimageview is flickering when i try to update one of the filter using seekbar. the below code of onProgress change method of seekbar shows my approach. Please Help how can I remove flickering .

onProgress:

if(current == BRIGHTNESS) { arrayList.set(0, new GPUImageBrightnessFilter(BRIGHTNESS.getCurrent())); } else if(current == CONTRAST) { arrayList.set(1, new GPUImageContrastFilter(CONTRAST.getCurrent())); } filters= new GPUImageFilterGroup(arrayList); gpuImageView.setFilter(filters);

Please help me to find better approach if any. and provide suggestions to remove flickering

sz32 commented

@devarsh-mavani-19 I'm also getting the same issue while using GPUImageFilterGroup

Did you get the solution?