<div dir="ltr">I have a custom element that I have written that currently is using a 'transform' (as opposed to transform_ip' function to manipulate video and then output it.  The output video is the same size and in the same format as the input video.  That part is working great.  <div><br></div><div>I would now like to modify the element so that it has two outputs where it decides on a frame-by frame basis whether to push the buffer to output #1 or output #2.  Both of those outputs would be the same size and format as the input. I have working code that can determine which type of frame I am looking at so the only issue I am having is making my buffer go to one pad or the other.  I've tried a number of things and am not succeeding. </div><div><br></div><div>Is there a good/bad/ugly element that I can reference to help with this?   I've looked through them but don't see anything that looks like it might help.  </div><div><br></div><div>Alternately, could someone here describe what is necessary to make this happen?  Example code would be great but even a high-level description would help.  </div><div><br></div><div> </div></div>