Where can I read about internals of pushsrc element?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Where can I read about internals of pushsrc element?

wl2776
Administrator
Where can I read about internals of pushsrc element and how to derive classes from it?
Plugin Writers Guide introduces chain and event handling functions, but this plugin seems to be missing the first. But it has its own g_main_loop instance and some other functions (start, stop, finalize, etc) instead.
Reply | Threaded
Open this post in threaded view
|

Re: Where can I read about internals of pushsrc element?

Edward Hervey
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


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel