From 09b33fdca6b3d876844ae5ac2c20d19f90a7824b Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Mon, 27 Apr 2009 11:09:08 +0200 Subject: 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 4fae901e..a40d974f 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); } -- cgit v1.2.1