Fix compiler warnings

This commit is contained in:
Alessandro Decina 2012-02-26 20:36:46 +01:00
parent 7bf7b32cd5
commit 9f1732fba7
4 changed files with 6 additions and 5 deletions

View file

@ -363,7 +363,7 @@ vorbis_parse_queue_buffer (GstVorbisParse * parse, GstBuffer * buf)
gst_buffer_map (buf, &map, GST_MAP_READ);
packet.packet = map.data;
packet.bytes = map.size;
GST_DEBUG ("%p, %d", map.data, map.size);
GST_DEBUG ("%p, %" G_GSIZE_FORMAT, map.data, map.size);
packet.granulepos = GST_BUFFER_OFFSET_END (buf);
packet.packetno = parse->packetno + parse->buffer_queue->length;
packet.e_o_s = 0;

View file

@ -132,7 +132,8 @@ default_map (GstVideoMeta * meta, guint plane, GstMapInfo * info,
offset -= size;
gst_memory_unref (mem);
}
GST_DEBUG ("no memory found for offset %u", meta->offset[plane]);
GST_DEBUG ("no memory found for offset %" G_GSIZE_FORMAT,
meta->offset[plane]);
return FALSE;
/* ERRORS */

View file

@ -454,7 +454,7 @@ gst_multi_fd_sink_new_client (GstMultiHandleSink * mhsink,
/* set the socket to non blocking */
if (fcntl (handle.fd, F_SETFL, O_NONBLOCK) < 0) {
GST_ERROR_OBJECT (mhsink, "failed to make socket %d non-blocking: %s",
GST_ERROR_OBJECT (mhsink, "failed to make socket %s non-blocking: %s",
mhclient->debug, g_strerror (errno));
}
@ -736,7 +736,7 @@ gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink,
/* partial write means that the client cannot read more and we should
* stop sending more */
GST_LOG_OBJECT (sink,
"partial write on %d of %" G_GSSIZE_FORMAT " bytes",
"partial write on %s of %" G_GSSIZE_FORMAT " bytes",
mhclient->debug, wrote);
mhclient->bufoffset += wrote;
more = FALSE;

View file

@ -613,7 +613,7 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
mhclient->flushcount--;
GST_LOG_OBJECT (sink, "%s client %p at position %d",
socket, client, mhclient->bufpos);
mhclient->debug, client, mhclient->bufpos);
/* queueing a buffer will ref it */
mhsinkclass->client_queue_buffer (mhsink, mhclient, buf);