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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 14 15:25:39 UTC 2018


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
 Attachment #369681|none                        |reviewed
             status|                            |

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 369681
  --> https://bugzilla.gnome.org/attachment.cgi?id=369681
log_omx_performance: convert pointers to strings

So in this code we're creating a structure and printing that so that a log
parser can easily deserialise it right?

How about instead of using a temporary GstStructure and printing it via
GST_PTR_FORMAT, we just print the entire thing in GST_CAT_TRACE_OBJECT() in a
format that can be deserialised later? It's not like we have complicated fields
here such as strings that need to be escaped or such?

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