Hi Giri, Thanks for the fast response, yup, i'm trying to use existing one, and add into it my own opencore plugins.
-- Best Regards, Yuri On 13 июл, 15:21, sesha giri <sesha_giri_n...@yahoo.co.in> wrote: > Hi Yuri, > > Are you trying to write your own core. > Are you are using the existing core and trying to add your own node for the > new file formate. > > --Giri > > ________________________________ > From: shadow <yuri.bul...@gmail.com> > To: android-framework <android-framework@googlegroups.com> > Sent: Monday, 13 July, 2009 1:43:27 PM > Subject: how to register in the opencore framework own file container > recognizer > > 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 > > See the Web's breaking stories, chosen by people like you. Check > out Yahoo! Buzz.http://in.buzz.yahoo.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---