gst-inspect: prettier signal printing and print action signals in g_signal_emit_by_name() format
Three main changes
- add more vertical spacing between properties and signals which makes everything look less squashed and more readable
- print
gchar *
andgchar **
instead ofgchararray
andGStrv
(withconst
prefix for signal arguments) - 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)
rtspsrc (after)
splitmuxsink
Look especially at format-location-*
signals including return values: