Mixing C and C++ in a GStreamer Element?

Marcin Kolny marcin.kolny at gmail.com
Tue Nov 12 00:46:15 PST 2013


You could use gstreamermm to make your element. See example here:
https://git.gnome.org/browse/gstreamermm/tree/tests/plugins/test-foo.h


2013/11/7 Sebastian Dröge <sebastian at centricular.com>

> On Do, 2013-11-07 at 15:07 -0500, Stirling Westrup wrote:
> > I need to write a new GStreamer element, but I want it to make use of
> some
> > C++ libraries. Am I better off wring the element in C, and using wrappers
> > around the C++, or is it possible to write the element in C++ so to make
> > using the libraries easier?
>
> You can write them in C++, take a look at the taglib plugin for example.
> Or some of the elements in the opencv plugin are using C++ API.
>
> Writing a C wrapper around the C++ API is unnecessary.
>
> --
> Sebastian Dröge <sebastian at centricular.com>
> Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Pozdrawiam
Marcin Kolny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131112/592d7d17/attachment.html>


More information about the gstreamer-devel mailing list