06-09-2012, 03:12 AM
I'm trying to dynamically create some of the videolab objects, including videomixer, in run-time. The issue is an unknown exception raises when I try to set the values of channels[].offsets of the created videomixer objects. The issue doesn't show up if you statically create and set the object in design time.
I have attached two sample codes to demonstrate the issue.
Now here is my question:
I wonder what is the problem in the "Run-Time" sample code? How we can dynamically create a new channel in VlVideoMixer component and then change the offsets (in the code) without raising exceptions?
Thanks,
I have attached two sample codes to demonstrate the issue.
Now here is my question:
I wonder what is the problem in the "Run-Time" sample code? How we can dynamically create a new channel in VlVideoMixer component and then change the offsets (in the code) without raising exceptions?
Thanks,