How to encapsulate multiple GStreamer elements in a plugin?

Sebastian Dröge sebastian at centricular.com
Sat Aug 13 10:31:30 UTC 2016


On Fr, 2016-08-12 at 10:50 -0700, Kiran Kumar wrote:
> Hi,
> 
> I am new to GStreamer framework. 
> 
> Are there any guides/reference manuals which explains how to create
> and encapsulate multiple elements in a single plugin?
> 
> The GStreamer plugin reference manual explains development of a
> plugin with only one element. 

You just call gst_element_register() multiple times in your plugin init
function. See all the examples in gst-plugins-* and
gstreamer/plugins/elements, for example:
https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/ext/opus/gstopus.c#n29

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160813/a843efbe/attachment.sig>


More information about the gstreamer-devel mailing list