IltmmProcessors::RegisterExternalProcessor Example for C

The following function for C shows how to use the ltmmProcessors object from the ltmmPlayControl object to register a 3rd-party video processor.

void EnableMyVideoProcessor()  
{  
   IltmmProcessors *pVideoProcessors = NULL; 
   IltmmPlay_get_VideoProcessors(pPlayCtrl, &pVideoProcessors); 
    
   if(NULL != pVideoProcessors)  
   {  
       // Register the external filter by class id  
      IltmmProcessors_RegisterExternalProcessor(pVideoProcessors, L"{AFF289A6-ABF1-4d68-9A51-634BF7077CFC}", VARIANT_TRUE); 
      IUnknown_Release(pVideoProcessors);  
   } 
} 

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

LEADTOOLS Multimedia C API Help