gst: add some gdb python macros
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 26 Sep 2018 11:33:31 +0000 (13:33 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 8 Nov 2018 12:36:23 +0000 (12:36 +0000)
commitbc621cc3353c580cf3ce58f49e8f8508f663bd17
tree098750bcbc0d9a72ecc7a092f9cf771b8bb74522
parent1fda8c3bcf2cd66d404c68843672f8fc963bf3a7
gst: add some gdb python macros

This adds gdb pretty printer for some GStreamer types.
For GstObject pointers the type and name is added, e.g.
"0x5555557e4110 [GstDecodeBin|decodebin0]".
For GstMiniObject pointers the object type is added, e.g.
"0x7fffe001fc50 [GstBuffer]".
For GstClockTime and GstClockTimeDiff the time is also printed in human
readable form, e.g. "150116219955 [+0:02:30.116219955]".

Fixes #320
configure.ac
libs/gst/helpers/.gitignore
libs/gst/helpers/Makefile.am
libs/gst/helpers/glib_gobject_helper.py [new file with mode: 0644]
libs/gst/helpers/gst_gdb.py [new file with mode: 0644]
libs/gst/helpers/libgstreamer-gdb.py.in [new file with mode: 0644]
libs/gst/helpers/meson.build