splitmuxsink: Added new async-finalize mode
authorVivia Nikolaidou <vivia@ahiru.eu>
Tue, 13 Jun 2017 14:42:55 +0000 (17:42 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Thu, 24 May 2018 09:47:24 +0000 (12:47 +0300)
commitd11339d61689a750672cffc6b88906e5bd977ee0
tree0c649d2f24701ccad41c890d3809e54617208cab
parentd35f89371534a2f8bf39c310783a2434045fdac2
splitmuxsink: Added new async-finalize mode

This mode is useful for muxers that can take a long time to finalize a
file. Instead of blocking the whole upstream pipeline while the muxer is
doing its stuff, we can unlink it and spawn a new muxer+sink combination
to continue running normally.

This requires us to receive the muxer and sink (if needed) as factories,
optionally accompanied by their respective properties structures. Also
added the muxer-added and sink-added signals, in case custom code has to
be called for them.

https://bugzilla.gnome.org/show_bug.cgi?id=783754
gst/multifile/gstsplitmuxsink.c
gst/multifile/gstsplitmuxsink.h
tests/check/elements/splitmux.c