IltmmPlay::get_DVDecoderResolution Example for C

// This function will change the small resolution
// into the second highest resolution
void SetupDV(IltmmCapture *pPlay) 
{
   ltmmDVResolution res; 

   IltmmPlay__get_DVDecoderResolution(pPlay, &res); 

   if(res == ltmmDVResolution_DC) 
      IltmmPlay__put_DVDecoderResolution(pPlay, ltmmDVResolution_Quarter); 
   if(res == ltmmDVResolution_Quarter) 
      IltmmPlay__put_DVDecoderResolution (pPlay, ltmmDVResolution_Half); 
   if(res == ltmmDVResolution_Half) 
      IltmmPlay__put_DVDecoderResolution (pPlay, ltmmDVResolution_Full); 
}