GES ges_formatter_save_to_uri example?

Thibault Saunier tsaunier at gnome.org
Thu Jan 31 21:10:09 UTC 2019


Hi,

You probably want to use `ges_timeline_save_to_uri` instead (probably
passing NULL as a formatter), that method should be probably be
deprecated.

Regards,

Thibault

On Thu, Jan 31, 2019 at 4:23 PM Pat DeSantis <pdesantis3 at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list