GES ges_formatter_save_to_uri example?

Pat DeSantis pdesantis3 at gmail.com
Thu Jan 31 19:23:43 UTC 2019


Hello all,

I'm having difficulty figuring out how to use ges_formatter_save_to_uri.
How do I instantiate a GESFormatter object to pass as the first parameter?

I've tried declaring a GESFormatter variable in the stack and passing a
pointer to it, but that results in a SIGSEGV.

I've also tried this:

GESXmlFormatter *formatter =
GES_XML_FORMATTER(g_object_new(ges_xml_formatter_get_type(),
nullptr));

But it fails on the assertion "formatter->project" when calling
ges_formatter_save_to_uri

Here are the docs:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing-services/html/GESFormatter.html#ges-formatter-save-to-uri

Thanks!
Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190131/b53acf47/attachment-0001.html>


More information about the gstreamer-devel mailing list