1. 25 May, 2019 3 commits
  2. 24 May, 2019 8 commits
    • Michael Olbrich's avatar
      gdb: add gst_element_pad() function · 96b88ffe
      Michael Olbrich authored
      Another helper to navigate a pipeline. It makes it possible to easily
      access the pads of an element:
      
      (gdb) print $gst_element_pad(basesink, "sink")
      $1 = 0x7fffe80770f0 [GstPad|sink]
      96b88ffe
    • Michael Olbrich's avatar
      gdb: print more data for segment events · 4877afc1
      Michael Olbrich authored
      This add the different timestamps for segment events:
      
      (gdb) gst-print pad
      SrcPad(src, push) {
        events:
      [...]
          segment: time
            rate: 1.1
            start:    0:03:08.449753330
            time:     0:03:08.449753330
            position: 0:03:08.449753330
            duration: 0:12:14.166687500
      [...]
      }
      4877afc1
    • Michael Olbrich's avatar
      gdb: add 'gst-pipeline-tree' command · 2bd2ed28
      Michael Olbrich authored
      It shows a simple tree of all elements in pipeline.
      As with gst-dot, the toplevel bin is found from any element of the
      pipeline:
      
      (gdb) gst-pipeline-tree bsink
      playbin
        inputselector1
        inputselector0
        uridecodebin0
          queue2-0
          decodebin0
            avdec_aac0
            aacparse0
            vaapidecodebin0
              vaapipostproc0
              capsfilter1
              vaapi-queue
              vaapidecode0
            capsfilter0
            h264parse0
            multiqueue0
            matroskademux0
            typefind
          typefindelement0
          source
        playsink
          abin
            aconv
              resample
              conv
              identity
            aqueue
            pulsesink0
          vbin
            vconv
              scale
              conv
              identity
            vqueue
            vaapisink0
          vdbin
            deinterlace
            vdconv
          audiotee
          streamsynchronizer0
      2bd2ed28
    • Michael Olbrich's avatar
      gdb: add gst_pipeline() and gst_bin_get() functions · ebce5a7e
      Michael Olbrich authored
      This simplifies navigating in a GStreamer pipeline, e.g.
      
      (gdb) print $gst_bin_get($gst_pipeline(pad), "matroskademux0")
      $1 = 0x7fffe81b4050 [GstMatroskaDemux|matroskademux0]
      ebce5a7e
    • Michael Olbrich's avatar
      gdb: handle ghost and proxy pads while looking for the top-level element · 8ccb9f25
      Michael Olbrich authored
      The parent object for pads is not always a GstElement. Handle GstProxyPad
      parents as well.
      8ccb9f25
    • Michael Olbrich's avatar
      gdb: refactor finding top-level pipeline · 320a4cba
      Michael Olbrich authored
      No functional changes. Just refactoring to make it possible to reuse this
      later.
      320a4cba
    • 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
    • Michael Olbrich's avatar
      gdb: refactor time formating · 0d7db77b
      Michael Olbrich authored
      Make it reuseable independent of the GstClockTimePrinter.
      0d7db77b
  3. 23 May, 2019 1 commit
  4. 21 May, 2019 2 commits
  5. 18 May, 2019 1 commit
  6. 16 May, 2019 12 commits
  7. 14 May, 2019 3 commits
  8. 13 May, 2019 10 commits