IltmmPlay::get_DVDecoderResolution Example for C++

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

   pPlay->get_DVDecoderResolution (&res); 

   if(res == ltmmDVResolution_DC) 
      pPlay->put_DVDecoderResolution (ltmmDVResolution_Quarter); 
   if(res == ltmmDVResolution_Quarter) 
      pPlay->put_DVDecoderResolution (ltmmDVResolution_Half); 
   if(res == ltmmDVResolution_Half) 
      pPlay->put_DVDecoderResolution (ltmmDVResolution_Full); 
}