Example #1
0
/*----------------------------------------------------------------------
|   AP4_DefaultAtomFactory::Initialize
+---------------------------------------------------------------------*/
AP4_Result
AP4_DefaultAtomFactory::Initialize()
{
    // register built-in type handlers
    AP4_Result result = AddTypeHandler(new AP4_MetaDataAtomTypeHandler(this));
    if (AP4_SUCCEEDED(result)) m_Initialized = true;
    return result;
}
Example #2
0
 // constructor
 AP4_MarlinIpmpAtomFactory() {
     AddTypeHandler(new AP4_MarlinIpmpAtomTypeHandler(this));
 }