omx: fix OMX_EventBufferFlag OMX_API_TRACE struct
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Fri, 23 Nov 2018 11:57:15 +0000 (12:57 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 26 Nov 2018 09:41:53 +0000 (10:41 +0100)
The GType was missing from the second field of the struct.

omx/gstomx.c

index 96b956f..3c0953b 100644 (file)
@@ -596,7 +596,8 @@ omx_event_to_debug_struct (OMX_EVENTTYPE event,
           data1, "param-config", G_TYPE_UINT, data2, NULL);
     case OMX_EventBufferFlag:
       return gst_structure_new (name, "port", G_TYPE_UINT,
-          data1, "flags", gst_omx_buffer_flags_to_string (data2), NULL);
+          data1, "flags", G_TYPE_STRING, gst_omx_buffer_flags_to_string (data2),
+          NULL);
     case OMX_EventKhronosExtensions:
     case OMX_EventVendorStartUnused:
     case OMX_EventMax: