Can't get dynamically added sinks to work.

Chuck Crisler ccrisler at mutualink.net
Tue May 13 12:58:32 PDT 2014


Congratulations! And you are definitely *NOT* an idiot.

There is a myth (maybe real?) that the American Indians measured the status
of a tribe by the ferocity of their enemies. By that measure you have a lot
of status! :-)


On Tue, May 13, 2014 at 3:41 PM, Stirling Westrup <swestrup at gmail.com>wrote:

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140513/a5759a20/attachment.html>


More information about the gstreamer-devel mailing list