1. 12 Mar, 2012 5 commits
    • Wim Taymans's avatar
      caps: fix some 0.11 FIXMEs · 4feb6c39
      Wim Taymans authored
      4feb6c39
    • Wim Taymans's avatar
      caps: make _normalize take ownership of input · 67931bfd
      Wim Taymans authored
      Make gst_caps_normalize() take ownership of the input so that it can more
      intelligently decide when to copy or not.
      67931bfd
    • Wim Taymans's avatar
      caps: _do_simplify() -> _simplify() · 8a76c326
      Wim Taymans authored
      Rename _do_simplify() to _simplify(). The name was introduced as a replacement
      method for a deprecated method but we can now rename it again.
      Fix some docs.
      8a76c326
    • Wim Taymans's avatar
      caps: improve _do_simplify · 9cdbffea
      Wim Taymans authored
      Make gst_caps_do_simplify() take ownership of the input caps and produce a
      simplified output caps. This removes the requirement of having writable input
      caps and the method can make the caps writable only when needed.
      9cdbffea
    • Wim Taymans's avatar
      tests: fix unit test · 6886be59
      Wim Taymans authored
      with the new caps API, there is more sharing and less copying going on so the
      unit test refcounts are different.
      6886be59
  2. 11 Mar, 2012 2 commits
    • Wim Taymans's avatar
      caps: avoid using in-place oprations · 43abf99a
      Wim Taymans authored
      Rework some caps operations so they don't rely on writable caps but instead take
      ownership of the input caps and do _make_writable() only when needed.
      Remove some const from caps functions, it does not make much sense for
      refcounted objects and does not allow us to return a refcount to the const input
      caps.
      Rework the base classes fixate vmethods to not operate on the caps in-place.
      All this saves us around 30% of caps and structure copy and new operations.
      43abf99a
    • Wim Taymans's avatar
      structure: add allocation debug · 89d03168
      Wim Taymans authored
      89d03168
  3. 10 Mar, 2012 2 commits
  4. 09 Mar, 2012 8 commits
    • Wim Taymans's avatar
      buffer: small optimizations · 6ffba69d
      Wim Taymans authored
      shortcut heavy work when buffer_resize does nothing.
      Avoid an extra _ref when mapping a buffer.
      Add some G_LIKELY.
      6ffba69d
    • Wim Taymans's avatar
      bufferpool: fix array types · ebd4863d
      Wim Taymans authored
      ebd4863d
    • Wim Taymans's avatar
      docs: update docs · c1a38be6
      Wim Taymans authored
      c1a38be6
    • Wim Taymans's avatar
      pad: also push sticky events on new event · 35241f35
      Wim Taymans authored
      Make a helper function check_sticky to check and push pending sticky events.
      Move the handling of the result of pushing the sticky event inside the
      push_event function, we need to mark the event as received when it was pushed
      correctly.
      Move the sticky events code outside of gst_pad_push_event_unchecked and
      make it purely handle sending the event to the peer.
      when pushing a sticky event, first store it on the pad. Then check and push any
      pending sticky events when we get a serialized or sticky event on a srcpad. This
      fixes the issue where sticky events are not pushed when an event is pushed.
      35241f35
    • Wim Taymans's avatar
      pad: store the received result from _foreach · 0054e6da
      Wim Taymans authored
      If the foreach function changes the received state of the sticky event, make
      sure we remember that.
      0054e6da
    • Wim Taymans's avatar
      pad: add comment · a8058183
      Wim Taymans authored
      a8058183
    • Wim Taymans's avatar
      test: add test to check sticky events order · 842afb97
      Wim Taymans authored
      Sticky events pushed on an unlinked pad should be stored on the pad. When the
      pad is then linked and an event is pushed, the event should be merged with the
      already existing sticky events and then the sticky events should be pushed in
      the order that they were originally pushed.
      842afb97
    • Wim Taymans's avatar
      test: fix typo in comment · 2d63298c
      Wim Taymans authored
      2d63298c
  5. 08 Mar, 2012 13 commits
  6. 07 Mar, 2012 1 commit
  7. 06 Mar, 2012 5 commits
  8. 05 Mar, 2012 4 commits