Commit b52a2da4 authored by Michael Smith's avatar Michael Smith
Browse files

gst/tcp/gstmultifdsink.c: When asking g_value_array_new to prealloc elements,...

gst/tcp/gstmultifdsink.c: When asking g_value_array_new to prealloc elements, we may as well ask for the right number...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats):
When asking g_value_array_new to prealloc elements, we may as well
ask for the right number of elements.
parent 102b79e4
2006-04-28 Michael Smith <msmith@fluendo.com>
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats):
When asking g_value_array_new to prealloc elements, we may as well
ask for the right number of elements.
2006-04-28 Wim Taymans <wim@fluendo.com>
 
* gst-libs/gst/audio/gstbaseaudiosink.c:
......
......@@ -664,7 +664,7 @@ gst_multi_fd_sink_get_stats (GstMultiFdSink * sink, int fd)
GValue value = { 0 };
guint64 interval;
result = g_value_array_new (4);
result = g_value_array_new (5);
g_value_init (&value, G_TYPE_UINT64);
g_value_set_uint64 (&value, client->bytes_sent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment