1. 29 Mar, 2012 1 commit
  2. 28 Mar, 2012 1 commit
  3. 16 Mar, 2012 1 commit
    • Wim Taymans's avatar
      pad: change the semantics of get/pull_range a little · db1318ab
      Wim Taymans authored
      Make it so that one can specify a buffer for get/pull_range where the downstream
      element should write into. When passing NULL, upstream should allocate a buffer,
      like in 0.10.
      We also need to change the probes a little because before the pull probe, there
      could already be a buffer passed. This then allows us to use the same PROBE
      macro for before and after pulling.
      While we're at the probes, make the query probe more powerful by handling the
      GST_PAD_PROBE_DROP return value. Returning _DROP from a query probe will now
      return TRUE upstream and will not forward the probe to the peer or handler.
      Also handle _DROP for get/pull_range properly by not dispatching to the
      peer/handler or by generating EOS when the probe returns DROP and no buffer.
      Make filesrc handle the non-NULL buffer passed in the get_range function and
      skip the allocation in that case, writing directly into the downstream provided
      Update tests because now we need to make sure to not pass a random value in the
      buffer pointer to get/pull_range
  4. 08 Mar, 2012 1 commit
  5. 08 Feb, 2012 1 commit
  6. 02 Feb, 2012 1 commit
  7. 26 Jan, 2012 2 commits
  8. 19 Jan, 2012 1 commit
  9. 06 Dec, 2011 3 commits
  10. 23 Nov, 2011 1 commit
    • Wim Taymans's avatar
      event: add STICKY_MULTY events · 407f45dc
      Wim Taymans authored
      Add a new event flag for sticky events so that multiple events of that type can
      be stored on a pad at the same time. Change the _get_sticky_event() function to
      loop over the multiple events of a type.
      Change the foreach function to make it possible to removed and modify the sticky
      events on a pad.
      Use an variable size array now to store the events. This could later be
      optimized some more.
  11. 22 Nov, 2011 1 commit
    • Wim Taymans's avatar
      pad: rework sticky events · dd65aae9
      Wim Taymans authored
      Rewrite sticky events, trying to make it a bit more simple.
      When sticky events are pushed on a srcpad, store them in the sticky event
      array and mark the event with received = FALSE.
      When the sticky event is successfully sent to the peer pad, make
      received = TRUE.
      Keep a PENDING_EVENTS pad flag that is set when one of the events is in
      the received = FALSE state for some reason.
      when activating a sinkpad, mark all events received = FALSE on the peer
      When pushing a buffer, check the PENDING_EVENTS flag and if it is set, push all
      events to the peer pad first.
  12. 21 Nov, 2011 2 commits
    • Wim Taymans's avatar
      pad: Add destroy notify to pad functions · 6e0a7243
      Wim Taymans authored
      Add _full variants of the pad function setters that take a destroy notify.
      Make some macros that make the old method name pass NULL to this new
    • Wim Taymans's avatar
      pad: Merge pad mode activation functions · 2f1ed653
      Wim Taymans authored
      Add the pad mode to the activate function so that we can reuse the same function
      for all activation modes. This makes the core logic smaller and allows for some
      elements to make their activation code easier. It would allow us to add more
      scheduling modes later without having to add more activate functions.
  13. 18 Nov, 2011 3 commits
  14. 17 Nov, 2011 1 commit
  15. 16 Nov, 2011 4 commits
  16. 15 Nov, 2011 6 commits
  17. 14 Nov, 2011 1 commit
  18. 11 Nov, 2011 1 commit
    • Wim Taymans's avatar
      .h: fix header files · 4a7c3b92
      Wim Taymans authored
      Ensure correct indentation and :retab.
      Make sure all structures have padding
      Fix up some old ABI additions.
  19. 10 Nov, 2011 1 commit
    • Wim Taymans's avatar
      pad: remove GstPadFixateCapsFunction · 37318a8c
      Wim Taymans authored
      The fixate caps function was not used externally and we have vmethods in the
      base classes where it is needed.
      Update some docs.
      simplify some fixate functions in the base classes. Also pass the untruncated
      caps to the vmethod.
  20. 09 Nov, 2011 2 commits
  21. 08 Nov, 2011 5 commits