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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Multimedia C API Help