<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">did you check the sources of the GstOutputSelector plugin?</div><div class=""><a href="https://github.com/GStreamer/gstreamer/blob/master/plugins/elements/gstoutputselector.c" class="">https://github.com/GStreamer/gstreamer/blob/master/plugins/elements/gstoutputselector.c</a></div><div class=""><br class=""></div><div class="">Regards</div><div class="">Roland<br class=""><div><br class=""><div class="">On 1. Apr 2020, at 15:56, Jack Buffington <<a href="mailto:jbuffington@redzone.com" class="">jbuffington@redzone.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class=""> </div></div>
_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></div><br class=""></div></body></html>