public Filter addFilter(FilterType type, String name) {
    long cPtr = VideoJNI.FilterGraph_addFilter(swigCPtr, this, FilterType.getCPtr(type), type, name);
    return (cPtr == 0) ? null : new Filter(cPtr, false);
  }
public Filter addFilter ( FilterType type , String name ) { long cPtr = VideoJNI . FilterGraph_addFilter ( swigCPtr , this , FilterType . getCPtr ( type ) , type , name ) ; return ( cPtr == 0 ) ? null : new Filter ( cPtr , false ) ; }
Add a filter with the given name to the graph.<br>
@return An object that refers to the new filter.