<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 13, 2013 at 5:22 PM, Paddy <span dir="ltr"><<a href="mailto:pat.blanchon@gmail.com" target="_blank">pat.blanchon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes - I have seen such a (similar - by no means identical) solution before.<br>
<br>
Before I go dusting off my old notebook - does locking the states of the<br>
elements outside of your source bins help at all?<br></blockquote><div><br></div><div>I have no idea. I didn't even know you *could* lock the state of an element. How do you do that? It definitely sounds like something I should try...<br>
 <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If memory serves the similar(ish) approach used:<br>
- many source pipelines that each fed into a custom sink - which was a very<br>
simple plugin that maintained a reference to the most recent buffer<br>
received, which was then stored in a static array of buffer pointers indexed<br>
by the unique ID given to the source pipeline at its creation [0..N]<br>
- sink pipelines, fed by a custom push sources which read the most recent<br>
buffers from a list of source pipelines (i.e. list of array indices into the<br>
above array) & video mixed them into an output buffer.<br></blockquote><div><br></div><div>That sounds about right, but how did you prevent state changes in the front half from propagating to the back; this "state locking" you mentioned before?<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Only one main loop was used.<br>
<br></blockquote>Good, as it would certainly be preferable to stick with one.<br></div><br>-- <br>Stirling Westrup<br>Programmer, Entrepreneur.<br><a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br>
<a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br><a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a>
</div></div>