Look at the following code:
GstElement *source = gst_element_factory_make("rtspsrc", "source"); g_signal_connect(source, "pad-added", G_CALLBACK(on_rtsppad_added), null ); Now depending on what element I want to make e.g. "rtspsrc" then I can call certain callbacks e.g. "pad-added" which will have its own callback function with a defined signature. If I have any element ("rtspsrc", "decodebin2" etc) then how can I find out what callbacks are available for that element and what the callback functions are? Thanks |
On Thu, 2010-03-18 at 06:21 -0800, wanting2learn wrote:
> Look at the following code: > > GstElement *source = gst_element_factory_make("rtspsrc", "source"); > > g_signal_connect(source, "pad-added", G_CALLBACK(on_rtsppad_added), > null ); > > Now depending on what element I want to make e.g. "rtspsrc" then I can call > certain callbacks e.g. "pad-added" which will have its own callback function > with a defined signature. > > If I have any element ("rtspsrc", "decodebin2" etc) then how can I find out > what callbacks are available for that element and what the callback > functions are? gst-inspect-0.10 rtspsrc shows the properties and signals, and so does the rtspsrc documentation page linked to from http://gstreamer.freedesktop.org/documentation/ ("Overview of all Plug-ins"). In addition to the properties and signals listed, the usual base class (GstElement, GstObject, GObject) properties and signals are also available and documented in the GStreamer core/GLib API reference. Cheers -Tim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thank you my friend :)
|
I notice that there are lots of plug-ins that do not have information about them.
e.g qtmux Quicktime Muxer plugin gppmux Multiplex audio and video into a 3GPP file mj2mux Multiplex audio and video into a MJ2 file mp4mux Multiplex audio and video into a MP4 file qtmoovrecover Recovers unfinished qtmux files qtmux Multiplex audio and video into a QuickTime file Why is this?? and how can I find out information about these?? Thanks |
On Thu, Mar 18, 2010 at 11:57 AM, wanting2learn <[hidden email]> wrote:
Those elements have properties listed. The don't have signals/actions. As Tim has said, those elements inherit from GstElement/GObject, so you should check the docs for them to know what signals/actions/properties they might inherit from it.
Example, you can check http://www.gstreamer.net/data/doc/gstreamer/head/gstreamer/html/GstElement.html for GstElement docs.
-- Thiago Sousa Santos ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |