diff options
author | Ali Sabil <ali.sabil at gmail.com> | 2009-05-22 16:35:20 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-11 02:30:44 +0100 |
commit | 6c684e59c692bbe3e9ec02a66fcd03771de3fb41 (patch) | |
tree | 29378a551f0cf628cdcdce43cc4a05f6aeee9395 /gst/rtpmanager/gstrtpssrcdemux.h | |
parent | 48872d821544d3b22d59c337d1e44ac74f7a92b2 (diff) |
ssrcdemux: emit signal when pads are removed
Add action signal to clear an SSRC in the ssrc demuxer.
Add signal to notify of removed ssrc.
See #554839
Diffstat (limited to 'gst/rtpmanager/gstrtpssrcdemux.h')
-rw-r--r-- | gst/rtpmanager/gstrtpssrcdemux.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpssrcdemux.h b/gst/rtpmanager/gstrtpssrcdemux.h index d89472af..d5a13caf 100644 --- a/gst/rtpmanager/gstrtpssrcdemux.h +++ b/gst/rtpmanager/gstrtpssrcdemux.h @@ -50,7 +50,11 @@ struct _GstRtpSsrcDemuxClass GstElementClass parent_class; /* signals */ - void (*new_ssrc_pad) (GstElement *element, guint32 ssrc, GstPad *pad); + void (*new_ssrc_pad) (GstRtpSsrcDemux *demux, guint32 ssrc, GstPad *pad); + void (*removed_ssrc_pad) (GstRtpSsrcDemux *demux, guint32 ssrc, GstPad *pad); + + /* actions */ + void (*clear_ssrc) (GstRtpSsrcDemux *demux, guint32 ssrc); }; GType gst_rtp_ssrc_demux_get_type (void); |