Hi, gstreamer-devel:<br><br> Seems `input-selector' is a choice -- a N-to-1 stream selectoring element.<br><br>Eric Zhang<br><br><div class="gmail_quote">2008/11/13 Albert Costa <span dir="ltr"><<a href="mailto:costa_albert@yahoo.fr">costa_albert@yahoo.fr</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hello people,</div>
<div>I am writing/testing to build a small application where I have 2 possible source pipelines for a sink. For example, I would have (if I translate to command line):</div>
<div>gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace ! directdrawsink and at some time I want to switch to videotestsrc ! ffmpegcolorspace ! directdrawsink (and vice-versa)</div>
<div>That is, I either get my frames from the (filesrc+decodebin) or the (videotestsrc) elements.</div>
<div>Is there a way to keep 2 such 'subpipelines' created, while only one is currently linked to the sink? </div>
<div>- If I create and add all the elements to the main pipeline but only link one branch, I get ofcourse a 'nonlinked' error for the other branch. </div>
<div>- If I create all, but only add the branch I use (with gst_bin_add_many), then remove the branch (with gst_bin_remove_many) and add the new one it works. But if I want to revert again, then the elements that got removed in the first place cannot be added again.</div>
<div>Is there a way to keep a bunch of elements such that I can add/remove them from the pipeline anytime I want (without having to recreate them) ?</div>
<div> </div>
<div>Best Regards,</div>
<div>Al</div></div><br>
</div><br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>