GstBaseTextOverlay not packaged for use by other plugins?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GstBaseTextOverlay not packaged for use by other plugins?

George Hawkins
I wanted to use GstBaseTextOverlay as the superclass for a new element.

However, I find gstbasetextoverlay.h is not bundled up with the other headers of gst-plugins-base.


E.g. here one can see the files included in the Ubuntu libgstreamer-plugins-base1.0-dev package:


gstbasetextoverlay.h isn't among them.

Does this mean that if I want to make a text overlay related element, I always have to manually copy gstbasetextoverlay.h and gstbasetextoverlay.c into my own plugin project?

Regards,

/George

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstBaseTextOverlay not packaged for use by other plugins?

Tim Müller
On Sun, 2019-08-11 at 23:40 +0200, George Hawkins wrote:

Hi,

> Does this mean that if I want to make a text overlay related element,
> I always have to manually copy gstbasetextoverlay.h and
> gstbasetextoverlay.c into my own plugin project?

Well, that's one option, if it's compatible license-wise. Depends what
you want to do exactly. There are other subtitle/overlay type plugins
that have copied some of the relevant code. You're certainly right in
that it's currently not a public base class.

You could also write a new element based on the GstAggregator base
class instead.

Cheers
 Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel