From: Robert J. <rjo...@us...> - 2004-06-30 12:31:54
|
Update of /cvsroot/openh323/openh323/samples/codecinfo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11486/samples/codecinfo Modified Files: main.cxx Log Message: Rewrite of plug in system to use single global variable for all factories to avoid all sorts of issues with startup orders and Windows DLL multiple instances. Index: main.cxx =================================================================== RCS file: /cvsroot/openh323/openh323/samples/codecinfo/main.cxx,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main.cxx 18 Jun 2004 02:25:15 -0000 1.10 --- main.cxx 30 Jun 2004 12:31:09 -0000 1.11 *************** *** 23,26 **** --- 23,30 ---- * * $Log$ + * Revision 1.11 2004/06/30 12:31:09 rjongbloed + * Rewrite of plug in system to use single global variable for all factories to avoid all sorts + * of issues with startup orders and Windows DLL multiple instances. + * * Revision 1.10 2004/06/18 02:25:15 csoutheren * Added display of RTP payload types to media format display *************** *** 404,408 **** OpalMediaFormat::List mediaList = OpalMediaFormat::GetRegisteredMediaFormats(); ! H323PluginCodecManager & codecMgr = H323PluginCodecManager::GetManager(); PPluginModuleManager::PluginListType pluginList = codecMgr.GetPluginList(); OpalMediaFormat::List stdCodecList = H323PluginCodecManager::GetMediaFormats(); --- 408,412 ---- OpalMediaFormat::List mediaList = OpalMediaFormat::GetRegisteredMediaFormats(); ! H323PluginCodecManager & codecMgr = *(H323PluginCodecManager *)PFactory<PPluginModuleManager>::CreateInstance("H323PluginCodecManager"); PPluginModuleManager::PluginListType pluginList = codecMgr.GetPluginList(); OpalMediaFormat::List stdCodecList = H323PluginCodecManager::GetMediaFormats(); |