On Wed, 2016-06-01 at 04:21 -0700, Yaroslav wrote:
Hi,
> I try to use "format-location" signal of GstSplitMuxSink:
>
> /g_signal_connect(splitmuxsink, "format-location",
> G_CALLBACK (on_format_location), NULL);
> ...
>
> gchar* on_format_location(GstSplitMuxSink *splitmux, guint
> fragment_id,
> gpointer user_data);
> /
> But see that:
>
> /error: unknown type name ‘GstSplitMuxSink’/
>
> I include gst/gst.h in .c file, but this is not enough. To my opinion
> i need
> to include something like gst/gstsplitmuxsink.h, but "fatal error:
> gst/gstsplitmuxsink.h: No such file or directory"
The plugin headers are not public. You can't include them.
Just use GstElement * splitmux instead.
Also see
$ gst-inspect-1.0 splitmuxsink
Element Signals:
"format-location" : gchararray user_function (GstElement* object,
guint arg0,
gpointer user_data);
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