sctpenc: start pad task after the parent has activated pads
authorMatthew Waters <matthew@centricular.com>
Mon, 10 Sep 2018 13:21:52 +0000 (23:21 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 21 Sep 2018 09:36:52 +0000 (19:36 +1000)
commitfb8f7c25deecb1412417d2baa82ec4b36f834bcb
tree1aa30a949299728e02c69cd87fe9e771d98bd099
parent88b4ce9fc07d388930b02ed814c82048ebce7640
sctpenc: start pad task after the parent has activated pads

Fixes a race where the task could attempt to set
stream-start/caps/segment before the pad was active and would be
dropped resulting in a 'data-flow before stream-start' warning.
ext/sctp/gstsctpenc.c