From: Edward H. <bi...@gm...> - 2010-09-17 07:56:49
|
On Thu, 2010-09-16 at 23:44 -0700, wl2776 wrote: > Where can I read about internals of pushsrc element Have you considered reading the code of GstBaseSrc and GstPushSrc ? Have you considered reading the docs about those base classes ? > and how to derive classes > from it? Have you considered reading the code to the most basic elements derived from those ? like fakesrc ? > Plugin Writers Guide introduces chain and event handling functions, but this > plugin seems to be missing the first. The first what ? > But it has its own g_main_loop > instance Plugins have nothing to do with GMainLoop > and some other functions (start, stop, finalize, etc) instead. Those virtual methods and their usage are properly documented in the basesrc/pushsrc API docs. Edward P.S. And don't forget that since GstPushSrc is a subclass of GstBaseSrc you should read the docs of GstBaseSrc in addition to GstPushSrc |