projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f95c30a
)
rtpsession: Emit "on-ssrc-validated" when validating by RTCP
author
Olivier CrĂȘte
<olivier.crete@collabora.co.uk>
Fri, 1 Oct 2010 21:19:16 +0000
(17:19 -0400)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 1 Feb 2011 15:45:58 +0000
(16:45 +0100)
Emit "on-ssrc-validated" if the SSRC is validated by receiving
a RTCP SDES packet.
gst/rtpmanager/rtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpsession.c
b/gst/rtpmanager/rtpsession.c
index
2698f3c
..
176a86f
100644
(file)
--- a/
gst/rtpmanager/rtpsession.c
+++ b/
gst/rtpmanager/rtpsession.c
@@
-1749,7
+1749,7
@@
rtp_session_process_sdes (RTPSession * sess, GstRTCPPacket * packet,
i = 0;
while (more_items) {
guint32 ssrc;
- gboolean changed, created;
+ gboolean changed, created
, validated
;
RTPSource *source;
GstStructure *sdes;
@@
-1802,10
+1802,13
@@
rtp_session_process_sdes (RTPSession * sess, GstRTCPPacket * packet,
/* takes ownership of sdes */
changed = rtp_source_set_sdes_struct (source, sdes);
+ validated = !RTP_SOURCE_IS_ACTIVE (source);
source->validated = TRUE;
if (created)
on_new_ssrc (sess, source);
+ if (validated)
+ on_ssrc_validated (sess, source);
if (changed)
on_ssrc_sdes (sess, source);