PTR_FORMAT


Description:

[ CCode ( cname = "GST_PTR_FORMAT" ) ]
public const string PTR_FORMAT

printf format type used to debug GStreamer types.

You can use this in combination with GStreamer's debug logging system as well as the functions gst_info_vasprintf, gst_info_strdup_vprintf and gst_info_strdup_printf to pretty-print the following types: Caps, Structure, CapsFeatures, TagList , DateTime, Buffer, BufferList, Message, Event, Query, Context, Pad, Object. All Object types will be printed as typename plus pointer, and everything else will simply be printed as pointer address.

This can only be used on types whose size is >= sizeof(gpointer).


Namespace: Gst
Package: gstreamer-1.0