Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Transforms Help

LEAD Video Callback Transform Attributes

Show in webframe

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.