splitmuxsrc: Fix startup and shutdown races.
authorJan Schmidt <jan@centricular.com>
Thu, 18 Jun 2015 13:22:06 +0000 (23:22 +1000)
committerJan Schmidt <jan@centricular.com>
Tue, 23 Jun 2015 02:03:14 +0000 (12:03 +1000)
commit600bab0056a8771ae9cc82a85713528601e7122f
tree84a6963c90a1225fa1e54e846b2e6b7906fccc75
parentd61e5393f110ed482815d77807245d78b52eff46
splitmuxsrc: Fix startup and shutdown races.

Fix 2 startup races when things happen too quickly, and 1
at shutdown by holding a ref to the pads in use until the
loop functions exit.

Handle errors activating file parts and publish them on
the bus.

https://bugzilla.gnome.org/show_bug.cgi?id=750747
gst/multifile/gstsplitmuxpartreader.c
gst/multifile/gstsplitmuxsrc.c