Q on tee: keep working one branch, even has a error on other branch
Makoto Harada
makotouu at gmail.com
Wed Mar 8 06:54:20 UTC 2017
Dear Expert,
I'm now debugging the certain error of a gstreamer plugin.
In order to make sure that input stream has no problem,
I modified the original pipeline using tee as shown below so that input stream is saved to the local file
while original pipeline is executed.
- original pipeline
hogesrc ! hoge_dec ! hoge_sink
- pipeline with tee
hogesrc ! tee name = t \
t. ! queue ! hoge_dec ! hoge_sink \
t. ! queue ! filesrc location=/tmp/dump.ts
This works fine.
However, when an error happen at a plugin (for example at hoge_dec) ,
whole pipeline stopped, therefore dump.ts can will not be saved.
Is there any way to make one thread of "tee" keep working, even though other thread has a error ?
Or is there any idea to keep dumping the input stream on such a situation ?
Any comments are highly appreciated.
Kind Regards,
Makoto
More information about the gstreamer-devel
mailing list