[Bug 752214] ipc: new elements for multi-process pipelines

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 26 08:08:37 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=752214

--- Comment #52 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
Olivier gave me a review over chat and he brought up the question of why these
functions are not in core (they are in ipcpipelinecomm.c in my patch):

gst_value_serialize_event (const GValue * value)
gst_value_deserialize_event (GValue * dest, const gchar * s)

These functions are necessary to serialize GstNavigationEvent messages, which
are messages that contain an event in one of the structure fields. Because we
use gst_structure_to_string to serialize messages, the event is lost unless the
core knows how to serialize a GstEvent into a string.

I have not attempted to put them in the core because the serialization is not
100% accurate. It internally uses gst_structure_to_string() as well, which is
not capable of serializing every possible field of the event (it will lose
objects, for a start). Do you think it makes sense to put them in core anyway?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list