• Michael Olbrich's avatar
    gdb: gst-print add more pad and element information · 36c2fc3b
    Michael Olbrich authored
    For elements, this adds all child elements, the state and base/start time:
    
    (gdb) gst-print pipeline
    0x5555556ebd20 "pipeline0"
    GstPipeline(pipeline0) {
        children:
          fakesink0
          queue0
          videotestsrc0
        state: PLAYING
        base_time: +2:54:36.892581150
        start_time: 0:00:00.000000000
    }
    
    For pads, this adds the peer pads and the current task state and the
    offset (if not zero):
    
    (gdb) gst-print pad
    SrcGhostPad(src, push) {
      events:
        [...]
      peer: vaapisink0:sink
      inner peer: scale:src
    }
    
    (gdb) gst-print pad
    SrcPad(src, push) {
      events:
        [...]
      peer: queue0:sink
      task: STARTED
      offset: 30000000 [+0:00:00.030000000]
    }
    36c2fc3b
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
data Loading commit data...
docs Loading commit data...
gst Loading commit data...
hooks Loading commit data...
libs Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
plugins Loading commit data...
po Loading commit data...
scripts Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-element-check-1.0.m4 Loading commit data...
gstreamer.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
stamp.h.in Loading commit data...