1. 07 Jan, 2019 1 commit
    • Sebastian Dröge's avatar
      bin: Hold the state lock while removing elements from a bin · 7f70d7a9
      Sebastian Dröge authored
      We need to take the state lock here to ensure that we're
      not currently just before setting the state of this child
      element. Otherwise it can happen that we removed the element
      here and e.g. set it to NULL state, and shortly afterwards
      have another thread set it to a higher state again as part of
      a state change for the whole bin.
      
      When adding an element to the bin this is not needed as we
      require callers to always ensure after adding to the bin that
      the new element is set to the correct state.
      7f70d7a9
  2. 05 Jan, 2019 1 commit
  3. 03 Jan, 2019 2 commits
  4. 31 Dec, 2018 3 commits
    • Michael Olbrich's avatar
      gdb: implement 'gst-dot' and 'gst-print' commands · c5b85da8
      Michael Olbrich authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      This adds two custom gdb commands:
      
      'gst-dot' creates dot files that a very close to what
      GST_DEBUG_BIN_TO_DOT_FILE() produces. Object properties and buffer content
      (e.g. codec-data in caps) are not available.
      
      'gst-print' produces high-level information about GStreamer objects. This
      is currently limited to pads for GstElements and events for the pads. The
      output can look like this:
      
      (gdb) gst-print pad.object.parent
      GstMatroskaDemux (matroskademux0) {
          SinkPad (sink, pull) {
          }
          SrcPad (video_0, push) {
            events:
              stream-start:
                stream-id: 0463ccb080d00b8689bf569a435c4ff84f9ff753545318ae2328ea0763fd0bec/001:1274058367
              caps: video/x-theora
                width: 1920
                height: 800
                pixel-aspect-ratio: 1/1
                framerate: 24/1
                streamheader: < 0x5555557c7d30 [GstBuffer], 0x5555557c7e40 [GstBuffer], 0x7fffe00141d0 [GstBuffer] >
              segment: time
                rate: 1
              tag: global
                container-format: Matroska
          }
          SrcPad (audio_0, push) {
            events:
              stream-start:
                stream-id: 0463ccb080d00b8689bf569a435c4ff84f9ff753545318ae2328ea0763fd0bec/002:1551204875
              caps: audio/mpeg
                mpegversion: 4
                framed: true
                stream-format: raw
                codec_data: 0x7fffe0014500 [GstBuffer]
                level: 2
                base-profile: lc
                profile: lc
                channels: 2
                rate: 44100
              segment: time
                rate: 1
              tag: global
                container-format: Matroska
              tag: stream
                audio-codec: MPEG-4 AAC audio
                language-code: en
          }
      }
      c5b85da8
    • Michael Olbrich's avatar
      gdb: make the code PEP-8 compliant · e43a0c99
      Michael Olbrich authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      e43a0c99
    • Tim-Philipp Müller's avatar
      tests: remove unused gststream.h file · 156d33f3
      Tim-Philipp Müller authored
      Looks like an earlier version of the .c file.
      156d33f3
  5. 19 Dec, 2018 3 commits
  6. 18 Dec, 2018 1 commit
    • Jonny Lamb's avatar
      identity: fixes to the eos-after and error-after properties · 63170d52
      Jonny Lamb authored and Olivier Crête's avatar Olivier Crête committed
      I copied `error-after` to make the `eos-after` property, but it turned
      out there were some problems with that one, so this patch: adds
      separate counters (so setting to NULL and reusing the element will
      still work); clarifies the properties' min values; and reports an
      error when both are set.
      63170d52
  7. 17 Dec, 2018 3 commits
  8. 15 Dec, 2018 4 commits
  9. 14 Dec, 2018 2 commits
  10. 11 Dec, 2018 2 commits
  11. 06 Dec, 2018 1 commit
  12. 05 Dec, 2018 3 commits
  13. 30 Nov, 2018 1 commit
    • Nicolas Dufresne's avatar
      libdw support is optional · e501e2f5
      Nicolas Dufresne authored
      This was no longer optional, leading to deadcode. This regression was
      found trying to fix the unwind variant in cerbero.
      e501e2f5
  14. 29 Nov, 2018 1 commit
  15. 28 Nov, 2018 5 commits
  16. 27 Nov, 2018 2 commits
  17. 26 Nov, 2018 1 commit
  18. 24 Nov, 2018 1 commit
  19. 23 Nov, 2018 3 commits
    • Zeeshan Ali's avatar
      gst-inspect: Colored output · 2cf16838
      Zeeshan Ali authored
      Let's make the output a bit pretty to read. The colored output can be
      disabled with `--no-colors` option or by setting `GST_INSPECT_NO_COLORS'
      env (to any value).
      
      The chosen colors are based on the popular Solarized theme, which is
      targeted for both dark and light backgrounds.
      
      Note:
      
      * We only support true colors. If the terminal doesn't signal support for
        that via 'COLORTERM' env, we disable colored output.
      
      * We don't add colors to --print-plugin-auto-install-info output, as
        that's meant for machines, not humans. Not only machines don't care
        about beauty, the existing ones will likely not expect colors and choke
        on it and we'll get angry mob at our doors.
      
      [1] https://ethanschoonover.com/solarized
      2cf16838
    • Zeeshan Ali's avatar
      gst-inspect: Remove redundant plugin name from output · d3811ca5
      Zeeshan Ali authored
      When printing info about a specific plugin, there is no need to prefix
      some of the details with plugin's name. It's not only redundant but also
      inconsistent and makes the task of adding consistent coloring to the
      output (which we'll do in a follow patch), harder.
      d3811ca5
    • Nirbheek Chauhan's avatar
      gst-inspect: Use less -F -X everywhere as the pager · a3abe8b9
      Nirbheek Chauhan authored
      This emulates the default behaviour of git help pages, and also fixes
      a bug on macOS where `less -F` doesn't display anything at all when
      the output is shorter than one terminal screen.
      
      Also moved the DEFAULT_PAGER define to after the includes, because
      it's an unprefixed define.
      
      Fixes gstreamer/gstreamer#330
      a3abe8b9