Element pad implementation and property flag use

George Demetriades gdemetriades at friendmts.co.uk
Tue Jun 25 07:52:52 PDT 2013


Hey everyone,

While developing my own programs around gstreamer using the SDK, I've
noticed that the output of gst-inspect-0.10 for quite a few elements
suggests more functionality than described in any documentation I can find.
The two specific sections I'm asking about are the "Implementation"
functions listed for each pad, and the flags for each property.

Would anyone be able to explain (or point me to a good description of) how
each of these features can be accessed?

To further illustrate my question, I'll copy/paste the sections I'm
referring to on a section of the output information on the "queue" element:

Pads:
  SRC: 'src'
    Implementation:
      Has custom eventfunc(): gst_queue_handle_src_event
      Has custom queryfunc(): gst_queue_handle_src_query
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
      Has getcapsfunc(): gst_queue_getcaps
      Has acceptcapsfunc(): gst_queue_acceptcaps
    Pad Template: 'src'

In this case, how would I use each of the custom functions?

max-size-buffers    : Max. number of buffers in the queue (0=disable)
                        flags: readable, writable

And for this, how would I change the readable/writable flag for the
property?

Many thanks,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130625/b1c70039/attachment.html>


More information about the gstreamer-devel mailing list