Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, November 4, 2010 3:51:59 AM(UTC)

tony_o  
tony_o

Groups: Registered
Posts: 5


Hi,

I know I can retrieve an interface to the 1st added video processor of a capture control by calling the GetSubObject method with CaptureObject.SelVideoProcessor as the parameter.

But if i have 2 or more filters/processors active at a time how can I retrieve interfaces to the others?

The only way i know of is through GetSubObject, and none of the CaptureObject enum values seem to what I'm looking for.

Am i missing something obvious? Any help would be greatly appreciated. By the way, I'm doing this in C# using mm sdk v17 .

Thanks,

Tony.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, November 4, 2010 7:16:36 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Tony,
To select the first object, you pass (CaptureObject.SelVideoProcessor) to the function.
To select any other object (index from 1 to N-1), you pass (CaptureObject.SelVideoProcessor + index).

This means if you have 4 processor filters selected into the control, and you want to get the last processor, you pass (CaptureObject.SelVideoProcessor + 3).

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Thursday, November 4, 2010 7:49:29 PM(UTC)

tony_o  
tony_o

Groups: Registered
Posts: 5


So I really was missing something that simple. Thanks again Maen.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.085 seconds.