ts-appsrc: if one appsrc is failing to push buffer it is causing other appsrc of the same context from different pipeline to fail
I have two pipelines of this form ts-appsrc ! identity ! fakesink
:
pipeline1
and pipeline2
both are sharing the same context for ts-appsrc
which is appsrc-context
. In one of the pipelines I added sleep-time
to 5 seconds in identity
and buffers are being pushed infinitely after each 20ms
. The push-buffer
signal would start to fail once the queue is filled which is expected. After 6th second, I start pushing buffers in pipeline2
(pipeline1
is still in process), since sleep-time
is 0 seconds for pipeline2
, I do not expect push-buffer
signal to fail, but it is failing somehow, if I change the scenario a bit and change sleep-time
to 0 seconds for pipeline1
as well, then both of the pipelines work as expected. I am not sure why failure of pipeline1
is affecting pipeline2
.
I have attached the project(with logs from my run) which should be able to reproduce this. appsrc.tar