What happens to just-requested tee srcpad in PLAYING pipeline?

Andrey Utkin andrey.krieger.utkin at gmail.com
Fri Jan 10 03:20:54 PST 2014


2014/1/10 Andrey Utkin <andrey.krieger.utkin at gmail.com>:
> When new requestable srcpad of tee element is created, it is
> immediately activated, so pushed data and events from upstream
> consider passing through it. Is this statement correct?
>
> When data tries to pass through unlinked pad, it raises an error and
> pauses pushing task (i.e. GstBaseSrc's or GstQueue's one) . Is this
> statement correct?
>
> If both above statements are correct, then how should we safely attach
> another branch to tee in a pipeline in PLAYING state?

I am sorry if that's not obvious from my starting post: i am disturbed
by possibility of race condition between a thread that adds new
pipeline branch and a thread that pushes data from the source element.

-- 
Andrey Utkin


More information about the gstreamer-devel mailing list