faac, rtmp: more printf format fixes in debug messages

https://bugzilla.gnome.org/show_bug.cgi?id=662618
This commit is contained in:
Tim-Philipp Müller 2011-11-23 23:42:41 +00:00
parent 9d0bdcf6d7
commit 026af880b5
2 changed files with 6 additions and 6 deletions

View file

@ -657,7 +657,7 @@ gst_faac_handle_frame (GstAudioEncoder * enc, GstBuffer * in_buf)
gst_buffer_unmap (in_buf, data, size);
GST_LOG_OBJECT (faac, "encoder return: %d", ret_size);
GST_LOG_OBJECT (faac, "encoder return: %" G_GSIZE_FORMAT, ret_size);
if (ret_size > 0) {
gst_buffer_unmap (out_buf, out_data, ret_size);

View file

@ -202,22 +202,22 @@ gst_rtmp_sink_render (GstBaseSink * bsink, GstBuffer * buf)
/* FIXME: Parse the first buffer and see if it contains a header plus a packet instead
* of just assuming it's only the header */
GST_LOG_OBJECT (sink, "Caching first buffer of size %d for concatenation",
gst_buffer_get_size (buf));
GST_LOG_OBJECT (sink, "Caching first buffer of size %" G_GSIZE_FORMAT
" for concatenation", gst_buffer_get_size (buf));
gst_buffer_replace (&sink->cache, buf);
sink->first = FALSE;
return GST_FLOW_OK;
}
if (sink->cache) {
GST_LOG_OBJECT (sink, "Joining 2nd buffer of size %d to cached buf",
gst_buffer_get_size (buf));
GST_LOG_OBJECT (sink, "Joining 2nd buffer of size %" G_GSIZE_FORMAT
" to cached buf", gst_buffer_get_size (buf));
gst_buffer_ref (buf);
reffed_buf = buf = gst_buffer_join (sink->cache, buf);
sink->cache = NULL;
}
GST_LOG_OBJECT (sink, "Sending %d bytes to RTMP server",
GST_LOG_OBJECT (sink, "Sending %" G_GSIZE_FORMAT " bytes to RTMP server",
gst_buffer_get_size (buf));
data = gst_buffer_map (buf, &size, NULL, GST_MAP_READ);