diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-09-15 18:48:03 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-11 02:30:30 +0100 |
commit | 0441ef80b0fbe22b0a6270958e4ad2058dc0d423 (patch) | |
tree | 2f6f07f9dec07a4da704487e1b8bcf9f0123e2af /gst/rtpmanager/gstrtpbin.c | |
parent | a93348cc6da0eff1a30fd08b2ec17962079a38a6 (diff) |
gst/rtpmanager/gstrtpbin.c: Also set NTP base time on new sessions.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (create_session):
Also set NTP base time on new sessions.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_loop), (gst_rtp_jitter_buffer_query),
(gst_rtp_jitter_buffer_set_property),
(gst_rtp_jitter_buffer_get_property):
Use the right lock to protect our variables.
Fix some comment.
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_getcaps_send_rtp),
(gst_rtp_session_chain_send_rtp), (create_send_rtp_sink):
Implement getcaps on the sender sinkpad so that payloaders can negotiate
the right SSRC.
Diffstat (limited to 'gst/rtpmanager/gstrtpbin.c')
-rw-r--r-- | gst/rtpmanager/gstrtpbin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 6f288bdc..eb028fb1 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -427,6 +427,9 @@ create_session (GstRtpBin * rtpbin, gint id) sess->ptmap = g_hash_table_new (NULL, NULL); rtpbin->sessions = g_slist_prepend (rtpbin->sessions, sess); + /* set NTP base or new session */ + g_object_set (session, "ntp-ns-base", rtpbin->priv->ntp_ns_base, NULL); + /* provide clock_rate to the session manager when needed */ g_signal_connect (session, "request-pt-map", (GCallback) pt_map_requested, sess); |