From 3482b47666d63eb85272314a95b645c68f4d7fbc Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Mon, 27 Apr 2009 11:09:08 +0200 Subject: [PATCH] rtpsouce: make WARNING into LOG Since neither rtpmanager nor any of the payloaders properly implement pad allocation, there is no way for the rtpmanager to inform downstream elements of the new SSRC if there is an SSRC collision. So the warning is emitted all the time and it is confusing. Fixes #580144 --- gst/rtpmanager/rtpsource.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 4fae901ec6..a40d974fb8 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -1140,7 +1140,9 @@ rtp_source_send_rtp (RTPSource * src, GstBuffer * buffer, guint64 ntpnstime) * get the correct SSRC from the session manager before pushing anything. */ buffer = gst_buffer_make_writable (buffer); - GST_WARNING ("updating SSRC from %08x to %08x, fix the payloader", ssrc, + /* FIXME, we don't want to warn yet because we can't inform any payloader + * of the changes SSRC yet because we don't implement pad-alloc. */ + GST_LOG ("updating SSRC from %08x to %08x, fix the payloader", ssrc, src->ssrc); gst_rtp_buffer_set_ssrc (buffer, src->ssrc); }