Can't get dynamically added sinks to work.
Stirling Westrup
swestrup at gmail.com
Thu May 8 13:24:30 PDT 2014
Seems like the vaapi issue was one I'd caused by improperly installing our
patches.
Now, thanks to the code in dynamic-tee-vsink.c, I've made some progress in
figuring out what's been going wrong, but I'm still rather puzzled. On
first inspection, my technique is almost identical to that in
dynamic-tee-vsink.c. Sufficiently so that I would have expected my test
code to run. However, by playing around with it, I've discovered some (to
me) surprising things:
If you replace the use of decodebin by a simple videotestsrc (and
consequently eliminate the pad-added callback), the program fails to run.
In fact, it exhibits the same issues my test code does: It only outputs the
first frame of output on the first added sink, newly added sinks don't
appear after that, and removal of sinks fails completely.
However, If I then replace the fakesink with testsink, everything starts
working again. As best I can figure out, this pipeline:
videotestsrc ! tee ! fakesink
freezes up and stops passing buffers, but without generating any sort of
error. After that, any attempt to add or remove sinks fails to work. I have
no idea why this might be so.
On Wed, May 7, 2014 at 3:31 PM, Sebastian Dröge
<sebastian at centricular.com>wrote:
> On Mi, 2014-05-07 at 12:36 -0400, Stirling Westrup wrote:
> > Hmm. I uninstalled out vaapi patches, and now the above code runs.
>
> Best to report that as a bug against gst-vaapi. Would be rather worrying
> if it doesn't work properly in this scenario.
>
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140508/5d272c5c/attachment.html>
More information about the gstreamer-devel
mailing list