[farsight2/master] Add warning when rtpbin asks for unknown PT

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:24 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index c73b268..a38b6e9 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1126,6 +1126,10 @@ fs_rtp_session_request_pt_map (FsRtpSession *session, guint pt)
 
   FS_RTP_SESSION_UNLOCK (session);
 
+  if (!caps)
+    GST_WARNING ("Could not get caps for payload type %u in session %d",
+        pt, session->id);
+
   return caps;
 }
 
-- 
1.5.6.5




More information about the farsight-commits mailing list