Run Filter In Process

By default, Filter runs out-of-process. However, you can enable in-process filtering through the API or in the formats.ini file. If the type of process is not specified in the formats.ini or in the API, Filter is run out-of-process. If the type of process is specified in the formats.ini and in the API, the setting in the API takes precedence.

To run Filter in process

  • To specify that filtering should run in-process through the C API, set the KVF_INPROCESS flag in the dwFlags argument of the KVFilterInitOptions structure that you pass to fpInit(), or set the flag in the final argument of fpOpenStreamEx2().

    dwFlags |= KVF_INPROCESS

  • To specify that filtering should run in-process by modifying formats.ini, set the default_inprocess parameter in the [FilterSDK_Config] section to 1. By default this parameter is set to 0 (zero), which enables out-of-process filtering.