Skip to content
  • Matthew Waters's avatar
    glvideomixer: implement glBlendFunc and glBlendEquation · 1d55ce91
    Matthew Waters authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    Allows more blending options than just A over B
    
    e.g. frame comparisons are now possible.
      glvideomixer name=m
        sink_0::zorder=0
        sink_1::zorder=1
        sink_1::blend-equation-rgb={subtract,reverse-subtract}
        sink_1::blend-function-src-rgb=src-color
        sink_1::blend-function-dst-rgb=dst-color
      ! glimagesinkelement
      videotestsrc pattern=checkers-4 ! m.sink_0
      videotestsrc pattern=checkers-8 ! m.sink_1
    1d55ce91