summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2009-04-27 11:09:08 +0200
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:17 -0400
commit09b33fdca6b3d876844ae5ac2c20d19f90a7824b (patch)
treef0d26d9286ec082d02a41868e1934620e483f783
parentb5cb8c5d1a98dbefe97b664ed02a8a5e7034c024 (diff)
downloadgst-plugins-bad-09b33fdca6b3d876844ae5ac2c20d19f90a7824b.tar.gz
gst-plugins-bad-09b33fdca6b3d876844ae5ac2c20d19f90a7824b.tar.bz2
gst-plugins-bad-09b33fdca6b3d876844ae5ac2c20d19f90a7824b.zip
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
-rw-r--r--gst/rtpmanager/rtpsource.c4
1 files changed, 3 insertions, 1 deletions
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);
}