Link to home
Start Free TrialLog in
Avatar of WxW
WxW

asked on

Configuring a capture device without the dialogs

I want to e.g. specify a compression codec , w/o displaying the dialog using capDlg XXXX functions and wait for the user to do that . For example , I only capture uncompressed frames in 24RGB mode in my application . How can I set that manually , w/o the dialog box ?
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of WxW
WxW

ASKER

I don't know how to fill the structure myself , but I will do capGetVideoFormat after I reset the format with the capDlgXX , and use the structure returned . Thanks.