gstreamer/plugins/nle
Thibault Saunier e5045b33d5 nlesource: Wait for the seek to actualy happen before removing the probe
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.
2019-07-05 18:30:41 -04:00
..
.gitignore Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
gnlmarshal.list Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
gstnle.c Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
Makefile.am Remove plugin specific static build option 2017-05-16 14:37:03 -04:00
meson.build doc: Build documentation with hotdoc 2019-05-13 10:30:35 -04:00
nle.h Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
nlecomposition.c nlecomposition: Minor debugging enhancements 2019-07-05 18:11:04 -04:00
nlecomposition.h Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
nleghostpad.c nleghostpad: Fix GstEvent leak 2019-01-18 20:32:02 +00:00
nleghostpad.h Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
nleobject.c doc: remove xml from comments 2019-05-29 23:12:11 +02:00
nleobject.h Handle changing playback rate 2016-02-26 19:54:40 +01:00
nleoperation.c docs: Generate ges plugin doc 2019-07-05 17:52:50 -04:00
nleoperation.h Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
nlesource.c nlesource: Wait for the seek to actualy happen before removing the probe 2019-07-05 18:30:41 -04:00
nlesource.h Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
nletypes.h Move NLE to a dedicated GstPlugin 2015-08-20 13:49:20 +02:00
nleurisource.c nleurisource: Always provide a srcpad 2016-09-22 11:30:58 -04:00
nleurisource.h nleurisource: Always provide a srcpad 2016-09-22 11:30:58 -04:00