IltmmPlay::get_PreferredMPEG2Splitter Example for C

Setting and getting the preferred MPEG-2 splitter

void IltmmPlay_get_PreferredMPEG2Splitter_Example (IltmmPlay* pPlay) 
{ 
   BSTR bstr; 
 
   // set the preferred splitter to “MPEG-2 Splitter” 
   bstr = SysAllocString(L"@device:sw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\\{3AE86B20-7BE8-11D1-ABE6-00A0C905F375}"); 
 
   IltmmPlay_put_PreferredMPEG2Splitter(pPlay, bstr); 
 
   SysFreeString(bstr); 
 
   IltmmPlay_get_PreferredMPEG2Splitter(pPlay, &bstr); 
 
   // use it... 
   SysFreeString(bstr); 
} 

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

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.