mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 04:45:36 +00:00
Fix compiler warnings
This commit is contained in:
parent
7bf7b32cd5
commit
9f1732fba7
4 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue