Need to unref context after setting it in GstVideoOverlay ?
Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com
Wed Jan 22 10:03:31 UTC 2020
Hi all,
I am using gstwaylandsink with an external wayland surface.
In the bus sync handler I need to set the Wayland display context as
well as the surface handle. For the context I am doing the following:
GstContext *context =
gst_context_new(GST_WAYLAND_DISPLAY_HANDLE_CONTEXT_TYPE, TRUE);
gst_structure_set(gst_context_writable_structure(context),
"handle", G_TYPE_POINTER, wayland_display, NULL);
gst_element_set_context(pipeline, context);
Do I need to unref the context after gst_element_set_context ? Or will
it be automatically freed once the pipeline is released?
Thanks,
Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com
More information about the gstreamer-devel
mailing list