Mixing C and C++ in a GStreamer Element?

Sebastian Dröge sebastian at centricular.com
Thu Nov 7 12:33:55 PST 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131107/7df9b2db/attachment.pgp>


More information about the gstreamer-devel mailing list