rtpjitterbuffer: fix debug message on pt mismatch
authorTim-Philipp Müller <tim@centricular.com>
Sat, 7 Oct 2017 23:07:43 +0000 (00:07 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 7 Oct 2017 23:07:43 +0000 (00:07 +0100)
gst/rtpmanager/gstrtpjitterbuffer.c

index 6963fcf..552c887 100644 (file)
@@ -1416,7 +1416,7 @@ gst_jitter_buffer_sink_parse_caps (GstRtpJitterBuffer * jitterbuffer,
   if (gst_structure_get_int (caps_struct, "payload", &payload) && pt != -1
       && payload != pt) {
     GST_ERROR_OBJECT (jitterbuffer,
-        "Got caps with wrong payload type (got %d, expected %d)", payload, pt);
+        "Got caps with wrong payload type (got %d, expected %d)", pt, payload);
     return FALSE;
   }