Skip to content

Commit

Permalink
Targets are added to the terminal filter in GPUImageFilterGroup, so c…
Browse files Browse the repository at this point in the history
…alling "targets" on this class should return the terminal filter's targets array. Currently GPUImageFilterGroup's superclass responds to this method, which returns an empty array.
  • Loading branch information
lokae0 committed Nov 25, 2014
1 parent b228793 commit abcce2d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions framework/Source/GPUImageFilterGroup.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ - (void)removeAllTargets;
[_terminalFilter removeAllTargets];
}

- (NSArray *)targets;
{
return [_terminalFilter targets];
}

- (void)setFrameProcessingCompletionBlock:(void (^)(GPUImageOutput *, CMTime))frameProcessingCompletionBlock;
{
[_terminalFilter setFrameProcessingCompletionBlock:frameProcessingCompletionBlock];
Expand Down

0 comments on commit abcce2d

Please sign in to comment.