[farsight2/master] Print the right variable in error

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


---
 gst/fsrtpconference/fs-rtp-codec-negotiation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 74ab8a3..a541d29 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -201,7 +201,7 @@ validate_codec_profile (FsCodec *codec,const gchar *bin_description,
     if (src_pad_count != 1)
     {
       GST_WARNING ("Invalid profile (%s), has %u src pads, should have one",
-          bin_description, sink_pad_count);
+          bin_description, src_pad_count);
       return FALSE;
     }
   }
-- 
1.5.6.5




More information about the farsight-commits mailing list