summaryrefslogtreecommitdiff
path: root/ext/sctp/gstsctpdec.c
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-09-13 19:56:47 +0200
committerMatthew Waters <matthew@centricular.com>2018-09-21 19:36:52 +1000
commit01216845c7801226c484b1c733012c1d2eec727a (patch)
tree290eb5c3177889ced4b526bb3b6e35b6b5fc5e58 /ext/sctp/gstsctpdec.c
parent1f662b24a29e5fcb628103e200766d56e3b5691f (diff)
sctp elements: avoid assertions on shutdown
Diffstat (limited to 'ext/sctp/gstsctpdec.c')
-rw-r--r--ext/sctp/gstsctpdec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/sctp/gstsctpdec.c b/ext/sctp/gstsctpdec.c
index ccc5ec12f..870a3ba00 100644
--- a/ext/sctp/gstsctpdec.c
+++ b/ext/sctp/gstsctpdec.c
@@ -633,8 +633,9 @@ static void
sctpdec_cleanup (GstSctpDec * self)
{
if (self->sctp_association) {
- gst_sctp_association_set_on_packet_received (self->sctp_association, NULL,
- NULL);
+ /* FIXME: make this threadsafe */
+ /* gst_sctp_association_set_on_packet_received (self->sctp_association, NULL,
+ NULL); */
g_signal_handler_disconnect (self->sctp_association,
self->signal_handler_stream_reset);
stop_all_srcpad_tasks (self);