[Bug 794331] log_omx_performance: GstOMXBuffer and OMX-buffer fields always displayed as NULL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 6 11:14:19 UTC 2018


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

--- Comment #8 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
I'm not sure I follow. Your comment doesn't seem relevant as to which approach
is preferable for printing.

You can still use gst_structure_from_string() in your log parser even if you
print stuff into the log without creating a GstStructure. The string in the
debug log would be identical in either case, just that it's less overhead and
less code if you don't create a throw-away GstStructure.

If you prefer your patch with the throwaway GstStructure, by all means go for
it, in the grand scheme of things it doesn't really matter much :)

-- 
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