<div dir="ltr"><div><div><div><div><div>Okay, so it turns out I'm an idiot. For the kinds of pipelines I'm building I shouldn't have my default be:<br><br></div>  videosrc ! tee ! fakesink<br><br>but this:<br><br>
</div>  videosrc ! tee ! queue ! fakesink<br><br></div>With that one change all of my issues and difficulties have gone away and everything just works now.<br></div><br></div>I still haven't figured out why I saw one bad run with Sebastian's code, but as I haven't been able to reproduce it, I'm going to put it down to an interaction with the phases of the moon, and not worry about it any more.<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 1:33 PM, Stirling Westrup <span dir="ltr"><<a href="mailto:swestrup@gmail.com" target="_blank">swestrup@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">After a large number of runs, I've now only seen the pipeline freezing on the first run I did. Not sure why it seems to always happen in my code, and so seldom in yours. I'm going to investigate further.<br>

<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 11:09 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Mo, 2014-05-12 at 10:57 -0400, Stirling Westrup wrote:<br>
> It works better than my test code, but its still has issues. The first time<br>
> I ran it, it managed to add three output windows before everything froze.<br>
> It claimed to be removing windows, but they wouldn't go away until 10-20<br>
> seconds after it said it had removed one.<br>
><br>
> On subsequent runs on different monitors, it performed much better, with<br>
> the only issue being that new windows that appeared were frozen for 1-2<br>
> seconds before starting to animate.<br>
<br>
</div>I think the last problem is the queues, if you use queues that consume<br>
at most a single buffer the windows should start progressing almost<br>
instantly.<br>
<br>
For the first problem, I didn't see that here yet...<br>
<div><div><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div class="">-- <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>
</blockquote></div><br><br clear="all"><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>