Filter Cache

GraphEdit

 

Filter Cache

For dynamic graph building, the filter graph manager maintains a cache of filters. If an application performs a dynamic reconnection, the filter graph manager can cache filters that it removes from the graph. During Intelligent Connect, the filter graph manager tries cached filters first.

In GraphEdit, you can simulate a dynamic reconnection by manually adding a filter to the cache, as follows:

  1. Add a filter to the graph. (See Build a Graph Manually.)
  2. Select the filter.
  3. In the Graph menu, click Add Filter to the Cache.

GraphEdit removes the filter from the graph and caches it. To see which filters are in the cache, click Enum Cached Filters in the Graph menu.

For more information about dynamic graph building in Microsoft® DirectShow®, see IGraphConfig in the DirectShow documentation.