return GST_FLOW_OK;
GST_DEBUG_OBJECT (fluiddec, "duration %" GST_TIME_FORMAT
- ", samples %u", GST_TIME_ARGS (duration), samples);
+ ", samples %" G_GUINT64_FORMAT, GST_TIME_ARGS (duration), samples);
outbuf = gst_buffer_new_allocate (NULL, samples * FLUID_DEC_BPS, NULL);
GST_BUFFER_FLAG_SET (out, GST_BUFFER_FLAG_DELTA_UNIT);
- GST_LOG_OBJECT (mimenc, "incoming buf size %d, encoded size %d",
- gst_buffer_get_size (in), gst_buffer_get_size (out));
+ GST_LOG_OBJECT (mimenc, "incoming buf size %" G_GSIZE_FORMAT
+ ", encoded size %" G_GSIZE_FORMAT, gst_buffer_get_size (in),
+ gst_buffer_get_size (out));
++mimenc->frames;
/* now let's create that tcp header */
goto drop_buffer;
}
- GST_LOG_OBJECT (pad, "Received %s buffer of size %d with SSRC = %u",
- is_rtcp ? "RTCP" : "RTP", gst_buffer_get_size (buf), ssrc);
+ GST_LOG_OBJECT (pad, "Received %s buffer of size %" G_GSIZE_FORMAT
+ " with SSRC = %u", is_rtcp ? "RTCP" : "RTP", gst_buffer_get_size (buf),
+ ssrc);
/* Change buffer to remove protection */
buf = gst_buffer_make_writable (buf);
if (gst_buffer_get_size (filter->key) != SRTP_MASTER_KEY_LEN) {
GST_ELEMENT_ERROR (filter, LIBRARY, SETTINGS, ("Master key size is wrong"),
- ("Expected master key of %d bytes, but received %d bytes",
- SRTP_MASTER_KEY_LEN, gst_buffer_get_size (filter->key)));
+ ("Expected master key of %d bytes, but received %" G_GSIZE_FORMAT
+ " bytes", SRTP_MASTER_KEY_LEN, gst_buffer_get_size (filter->key)));
return FALSE;
}