Skip to content
  • Wim Taymans's avatar
    pad: rework pad blocking, first part · 415da89f
    Wim Taymans authored
    Make pad block call the callback as soon as the pad is not in use. This makes it
    possible to make sure that when the callback is called, no activity is happening
    on the pad and that no activity will ever happen until the pad is unblocked
    again. This makes pad blocking work when there is no dataflow or after EOS and
    greatly helps dynamic pipelines.
    Move the probe handling right where we wait on the pad block. The two are
    related but not the same and the probe can eventually influence the pad
    blocking as we'll se later.
    Fix up some broken unit tests or tests that fail with the new behaviour.
    415da89f