Hi all,

I'm trying to develop own opencore wrapper around some file format,
for example MKV... i've created shared library called
my_mkv_recognizer.so, and put it into /system/lib folder.

The following interfaces are present in the library:
==============================================================
1) class CMyMkvSplitterRecognizerFactory : public
PVMFRecognizerPluginFactory;
2) class CMyMkvRecognizerPlugin : public
PVMFRecognizerPluginInterface;
3) class CMyMkvNodesRegistryInterface: public
OsclSharedLibraryInterface,
                                public NodeRegistryPopulatorInterface,
                                public RecognizerPopulatorInterface;

4) OsclSharedLibraryInterface *PVGetInterface( void )
    {
       printf("PVGetInterface()\n");
        return OSCL_NEW(CMyMkvNodesRegistryInterface, ());
    }

    void PVReleaseInterface ( OsclSharedLibraryInterface* aInstance )
    {
        OSCL_DELETE( aInstance );
    }
==============================================================

Then i've created config file: my_plugin.cfg, and put it into /etc
folder, this file contains the following strings:
(0x1d4769f0,0xca0c,0x11dc,0x95,0xff,0x08,0x00,0x20,0x0c,0x9a,
0x66),"libopencoremkvsplitterrecognizer.so"
(0x6d3413a0,0xca0c,0x11dc,0x95,0xff,0x08,0x00,0x20,0x0c,0x9a,
0x66),"libopencoremkvsplitterrecognizer.so"

And now the problem is ;-) .... i can see in the trace log that is my
lib was loaded, but none method has been called. Why?

--
 Best regards,
 Yuri


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to