[gst-devel] difference between BaseSrc and PushSrc

Antoine Pitrou antoine.pitrou at wengo.fr
Thu Nov 30 17:26:24 CET 2006

Hi everyone,

I'd like to know the exact difference between gst.BaseSrc and
gst.PushSrc. The documentation is quite terse ("Seeking, flushing,
scheduling and sync is all handled by this base class"), while it would
be interesting to know the operational details.
For example: is a PushSrc run in its own thread (I suppose it is, since
apparently the create() method can be blocking)? Does it mean that
launching N PushSrc's will launch N different threads? What about
scalability? Does it cooperate well with the Python GIL (Global
Interpreter Lock)?

Thanks in advance


More information about the gstreamer-devel mailing list