Skip to content
  • Sebastian Dröge's avatar
    Revert "pad: Handle changing sticky events in pad probes" · 2aa9ad9c
    Sebastian Dröge authored
    This reverts commit 11e0f451.
    
    When pushing a sticky event out of a pad with a pad probe or pad offset,
    those should not be applied to the event that is actually stored in the
    event but only in the event sent downstream. The pad probe and pad
    offsets are conceptually *after* the pad, added by external code and
    should not affect any internal state of pads/elements.
    
    Also storing the modified event has the side-effect that a re-sent event
    would arrive with any previous modifications done by the same pad probe
    again inside that pad probe, and it would have to check if its
    modifications are already applied or not.
    
    For sink pads and generally for events arriving in a pad, some further
    changes are still needed and those are tracked in
      https://bugzilla.gnome.org/show_bug.cgi?id=765049
    
    In addition, the commit also had a refcounting problem with events,
    causing already destroyed events to be stored inside pads.
    2aa9ad9c