- 05 Jul, 2019 37 commits
-
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Thibault Saunier authored
And let the GESPipeline logic handle that
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Swayamjeet Swain authored
So that project files are found when using nested timelines
-
Thibault Saunier authored
Config files should have the-scenario-name.scenario.config to be picked automatically
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Thibault Saunier authored
Make sure that an event resulting from the seek happens before removing the pad probe, dropping anything while it is not the case. This guarantees that the seek happens before `nlesource` outputs anything. This was not necessary as with decodebin or usual source flushing seeks lead to synchronous flush_start/flush_stop and we could safely assume that once the seek is sent, it was happenning. With nested `nlecomposition` this assumption is simply not true as in the composition seeks are basically cached and happen later in the composition updating thread. This fixes races where we ended up removing the blocking probe before the seek actually started to be executed in the nlecomposition nested inside an nlesource which leaded to data from *before* the seek to be outputed which means we could display wrong frames, and it was leading to interesting deadlocks.
-
Thibault Saunier authored
-
Thibault Saunier authored
Add a simple test for that.
-
Thibault Saunier authored
It was almost the case already so make it happen fully
-
Thibault Saunier authored
Seeks that lead to a stack change lead to deactivating the current stack. At that point we explicitely flush downstream as a reaction to the flushing seek. Until now those flushes had a random seqnum, this fails if we are a nested compostion as the parent composition will end up dropping that flush which in turns might lead to deadlocks. For example, the flush goes through a `compositor` which wants to flush downstream to stop its srcpad task, but that flush wouldn't have "released" its srcpad thread if the composition srcpad drops it, meaning it won't be able to stop the task ever.
-
Thibault Saunier authored
Otherwise if we shutdown a composition whith an nested composition (inside a source in the test) and leak it, we end up with the nested composition task still running (in READY) which is bad. Add a test for that which leaks the pipeline on purpose.
-
Thibault Saunier authored
This allows accessing the nlecomposition in gdb when a task is 'dangling' making debugging easier.
-
Swayamjeet Swain authored
-
Thibault Saunier authored
-
Thibault Saunier authored
When we have nested timelines, we do not want those messages to pop to the parent timelines as we handle the sequence ourself in the timeline.
-
Thibault Saunier authored
First marshilling it to the main thread is dangerous as it is a blocking operation and it should never happen there. The asset cache is MT safe now so it is possible to load the timeline from that thread directly
-
Thibault Saunier authored
Making sure to have 1 GstDiscoverer per thread. Use that new feature in gesdemux by loading the timeline directly from the streaming thread. Modifying the timeline is not supported allowed anyway.
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Thibault Saunier authored
In the case of nested timeline in the toplevel timeline we ended up with CompositionUpdate for seeks sent by our own composition to granchildren composition. This was not causing essential issues if all tracks where containing nested timelines but in cases where one of the tracks only had a nested timelines, then we were waiting forever for a `CompositionUpdateDone`. CompositionUpdate translated into ASYNC_START/ASYNC_DONE should be kept inside the GESTimeline and not travel up (possibly to some parent GESTimeline).
-
Thibault Saunier authored
The field was already expected in the launcher
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Thibault Saunier authored
And use it in both gesdemux and gessrc
-
Thibault Saunier authored
-
Thibault Saunier authored
Allowing a proper seek EOS handling with nested compositions
-
Thibault Saunier authored
-
Thibault Saunier authored
And remove useless .h files
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Thibault Saunier authored
-
Thibault Saunier authored
Paving the way to removing pending fields to make the code simpler to follow.
-
- 17 Jun, 2019 1 commit
-
-
Thibault Saunier authored
When linking loaded proxies and trying to setup their targets
-
- 06 Jun, 2019 1 commit
-
-
Thibault Saunier authored
-
- 05 Jun, 2019 1 commit
-
-
Thibault Saunier authored
-