Can't get dynamically added sinks to work.
Stirling Westrup
swestrup at gmail.com
Tue May 13 12:41:46 PDT 2014
Okay, so it turns out I'm an idiot. For the kinds of pipelines I'm building
I shouldn't have my default be:
videosrc ! tee ! fakesink
but this:
videosrc ! tee ! queue ! fakesink
With that one change all of my issues and difficulties have gone away and
everything just works now.
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.
On Mon, May 12, 2014 at 1:33 PM, Stirling Westrup <swestrup at gmail.com>wrote:
> 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.
>
>
>
> On Mon, May 12, 2014 at 11:09 AM, Sebastian Dröge <
> sebastian at centricular.com> wrote:
>
>> On Mo, 2014-05-12 at 10:57 -0400, Stirling Westrup wrote:
>> > It works better than my test code, but its still has issues. The first
>> time
>> > I ran it, it managed to add three output windows before everything
>> froze.
>> > It claimed to be removing windows, but they wouldn't go away until 10-20
>> > seconds after it said it had removed one.
>> >
>> > On subsequent runs on different monitors, it performed much better, with
>> > the only issue being that new windows that appeared were frozen for 1-2
>> > seconds before starting to animate.
>>
>> I think the last problem is the queues, if you use queues that consume
>> at most a single buffer the windows should start progressing almost
>> instantly.
>>
>> For the first problem, I didn't see that here yet...
>>
>> --
>> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
>> Expertise, Straight from the Source
>>
>
>
>
> --
> Stirling Westrup
> Programmer, Entrepreneur.
> https://www.linkedin.com/e/fpf/77228
> http://www.linkedin.com/in/swestrup
> http://technaut.livejournal.com
> http://sourceforge.net/users/stirlingwestrup
>
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140513/10285690/attachment.html>
More information about the gstreamer-devel
mailing list