mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
info: flesh out GST_PTR_FORMAT docs a bit
This commit is contained in:
parent
b9a4a2a952
commit
09d5ff4097
1 changed files with 13 additions and 2 deletions
|
@ -262,7 +262,15 @@ struct _GstDebugCategory {
|
|||
/**
|
||||
* GST_PTR_FORMAT:
|
||||
*
|
||||
* printf format type used to debug GStreamer types.
|
||||
* 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: #GstCaps, #GstStructure,
|
||||
* #GstCapsFeatures, #GstTagList, #GstDateTime, #GstBuffer, #GstBufferList,
|
||||
* #GstMessage, #GstEvent, #GstQuery, #GstContext, #GstPad, #GstObject. All
|
||||
* #GObject 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).
|
||||
*/
|
||||
#define GST_PTR_FORMAT "p\aA"
|
||||
|
@ -270,7 +278,10 @@ struct _GstDebugCategory {
|
|||
/**
|
||||
* GST_SEGMENT_FORMAT:
|
||||
*
|
||||
* printf format type used to debug GStreamer segments.
|
||||
* printf format type used to debug GStreamer segments. 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 #GstSegment structures.
|
||||
* This can only be used on pointers to GstSegment structures.
|
||||
*/
|
||||
#define GST_SEGMENT_FORMAT "p\aB"
|
||||
|
|
Loading…
Reference in a new issue