IltmmCapture::get_DVDecoderResolution Example for C

This function will change the small resolution into the second highest resolution.

void IltmmCapture_get_DVDecoderResolution_Example (IltmmCapture* pCapture) 
{ 
	ltmmDVResolution res;  
 
	IltmmCapture_get_DVDecoderResolution(pCapture, &res);  
 
	if(res == ltmmDVResolution_DC)  
		IltmmCapture_put_DVDecoderResolution(pCapture, ltmmDVResolution_Quarter);  
 
	if(res == ltmmDVResolution_Quarter)  
		IltmmCapture_put_DVDecoderResolution (pCapture, ltmmDVResolution_Half);  
 
	if(res == ltmmDVResolution_Half)  
		IltmmCapture_put_DVDecoderResolution (pCapture, ltmmDVResolution_Full);  
} 

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help