mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 22:48:49 +00:00
fix compiler warnings
This commit is contained in:
parent
d7695bb67d
commit
41406037ac
1 changed files with 5 additions and 4 deletions
|
@ -477,7 +477,7 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
|
||||||
/* grab lock while iterating and sending to clients, this should be
|
/* grab lock while iterating and sending to clients, this should be
|
||||||
* fast as UDP never blocks */
|
* fast as UDP never blocks */
|
||||||
g_mutex_lock (&sink->client_lock);
|
g_mutex_lock (&sink->client_lock);
|
||||||
GST_LOG_OBJECT (bsink, "about to send %d bytes", size);
|
GST_LOG_OBJECT (bsink, "about to send %" G_GSIZE_FORMAT " bytes", size);
|
||||||
|
|
||||||
no_clients = 0;
|
no_clients = 0;
|
||||||
num = 0;
|
num = 0;
|
||||||
|
@ -487,7 +487,8 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
|
||||||
|
|
||||||
client = (GstUDPClient *) clients->data;
|
client = (GstUDPClient *) clients->data;
|
||||||
no_clients++;
|
no_clients++;
|
||||||
GST_LOG_OBJECT (sink, "sending %d bytes to client %p", size, client);
|
GST_LOG_OBJECT (sink, "sending %" G_GSIZE_FORMAT " bytes to client %p",
|
||||||
|
size, client);
|
||||||
|
|
||||||
count = sink->send_duplicates ? client->refcount : 1;
|
count = sink->send_duplicates ? client->refcount : 1;
|
||||||
|
|
||||||
|
@ -518,8 +519,8 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
|
||||||
g_free (vec);
|
g_free (vec);
|
||||||
g_free (map);
|
g_free (map);
|
||||||
|
|
||||||
GST_LOG_OBJECT (sink, "sent %d bytes to %d (of %d) clients", size, num,
|
GST_LOG_OBJECT (sink, "sent %" G_GSIZE_FORMAT " bytes to %d (of %d) clients",
|
||||||
no_clients);
|
size, num, no_clients);
|
||||||
|
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue