Skip to content

gst-inspect: prettier signal printing and print action signals in g_signal_emit_by_name() format

Three main changes

  1. add more vertical spacing between properties and signals which makes everything look less squashed and more readable
  2. print gchar * and gchar ** instead of gchararray and GStrv (with const prefix for signal arguments)
  3. print action signals not in user callback form (which makes no sense really if you don't understand how everything works in GObject), but instead print those in g_signal_emit_by_name() format. This is C-specific of course, but so are the callback functions, and even for people working in Rust or Python this should be easier to figure out how to use this way.

Before/after screenshots

rtspsrc

Look especially at get-parameter and get-parameters action signals:

rtspsrc (before)

gst-inspect-rtspsrc-action-signals-before

rtspsrc (after)

gst-inspect-rtspsrc-action-signals-after

splitmuxsink

Look especially at format-location-* signals including return values:

splitmuxsink (before)

gst-inspect-splitmuxsink-signals-before

splitmuxsink (after)

gst-inspect-splitmuxsink-signals-after

Merge request reports