LEAD Video Callback Transform Attributes

The following attributes are supported by the LEAD Video Callback Transform through the IMFAttributes interface.

Attributes:

Data type Attribute CLSID Description
IUnknown LMF_CALLBACK_RECEIVEPROCOBJ [Write-only] Sets the callback object pointer.

If not NULL, the ReceiveProc method of this interface will be called with every audio buffer.

Set to NULL (or to "Nothing" in VB) if you do not wish to receive notifications anymore. (For example, before you delete (release) the callback object interface).

this attribute can also be accessed through the method put_ReceiveProcObj using the transform interface.

UINT32 (BOOL) LMF_CALLBACK_CALLINSAMETHREAD Enables or disables the calling of the CallbackProc notifications in the same thread that set the ReceiveProcObj property. The default value is VARIANT_TRUE.

this attribute can also be accessed through the property CallInSameThread using the transform interface.

 Possible values are:

    Value Meaning
    TRUE Call the notifications in the same thread that set the callback. This reduces the performance and requires the application to process messages, otherwise the callback will not get called. It is the default and is required for platforms that have problem with multithreading. VB 6.0 and dotnet applications should use this mode.
    FALSE Call the notifications in any thread of the process. Use this setting for best performance in platforms that can handle this. This is the recommended mode for C++ applications.

 

For more information on how to use the Transform Attributes, refer to Using Media Foundation Transform Attributes.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Transforms C API Help