Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: how access second processor in ltmmPlay_Object_SelVideoProcessor
Started by amr tolba at 04-06-2008 4:40. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  04-06-2008, 4:40
amr tolba is not online. Last active: 4/6/2008 8:15:11 AM amr tolba

Not Ranked
Joined on 04-06-2008
Posts 1
how access second processor in ltmmPlay_Object_SelVideoProcessor
Reply Quote

   i try to access property of Processors in ltmmPlayCtrl by using

dim LmvEmboss as  LmvEmbossLib.ILmvEmbossDisp

dim LmvColor as  LmvColorLib.ILmvColorDisp

LmvEmboss =ltmmPlayCtrl 1.GetSubObject(ltmmPlay_Object.ltmmPlay_Object_SelVideoProcessor)

LmvEmboss.LightAngle=1

it return first Processor ( Emboss Filter ) and can modify it but can't access the second which is LmvColor

How can do that??


   Report 
  04-07-2008, 10:32
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,318
Re: how access second processor in ltmmPlay_Object_SelVideoProcessor
Reply Quote

This depends on sequence of the inserted video processors. If the first inserted processor was the Emboss Filter, the ltmmPlayCtrl1.GetSubObject(ltmmPlay_Object.ltmmPlay_Object_SelVideoProcessor) will return this processor. If the second inserted video processor was the Color Filter, you need to call the ltmmPlayCtrl1.GetSubObject like this:
ltmmPlayCtrl1.GetSubObject(ltmmPlay_Object.ltmmPlay_Object_SelVideoProcessor + 1)

This is mentioned in the following help topic:
ltmmPlay_Object Constants


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Enduser » Capture & Conve... » Re: how access second processor in ltmmPlay_Object_SelVideoProcessor

Powered by Community Server, by Telligent Systems