SetFilters does not refresh the current frame.
wenbingzhang opened this issue · comments
wenbingzhang commented
When paused, setting a new filter will not refresh the current frame.
Val Doroshchuk commented
Hi, thanks for contributing.
Setting new filter does not trigger updating a frame. It is intentionally made only for play(), pause() if not paused, stepBackward(), stepForward()
It is done like this, because current frame before new filter, is already processed and sent, and it is unable to reapply the filter on the same frame, since filters might be complicated too and expect many frames in sequence.
If you want to see the filter, just use
p.setFilter(filter);
p.stepForward();