mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
sctpenc: Use g_signal_emit() instead of g_signal_emit_by_name()
We have all the required information around so make use of it.
This commit is contained in:
parent
90e9f12880
commit
16ec86faf0
1 changed files with 2 additions and 1 deletions
|
@ -810,7 +810,8 @@ on_sctp_association_state_changed (GstSctpAssociation * sctp_association,
|
|||
case GST_SCTP_ASSOCIATION_STATE_CONNECTING:
|
||||
break;
|
||||
case GST_SCTP_ASSOCIATION_STATE_CONNECTED:
|
||||
g_signal_emit_by_name (self, "sctp-association-established", TRUE);
|
||||
g_signal_emit (self, signals[SIGNAL_SCTP_ASSOCIATION_ESTABLISHED], 0,
|
||||
TRUE);
|
||||
break;
|
||||
case GST_SCTP_ASSOCIATION_STATE_DISCONNECTING:
|
||||
g_signal_emit (self, signals[SIGNAL_SCTP_ASSOCIATION_ESTABLISHED], 0,
|
||||
|
|
Loading…
Reference in a new issue