• Steve Lhomme's avatar
    filter_chain: rework filter_chain_VideoDrain() · 06d04158
    Steve Lhomme authored
    From the last filter in the chain to the first we:
    - drain to get a picture
    - if there is a picture we use it to filter it
    - if we have a picture from running all the filters, we return it
    - otherwise we try again to drain the filter that produced a picture
    - if that filter doesn't produce a picture anymore, we try the previous filter
      in the chain