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.
This commit is contained in:
parent
102b79e46e
commit
b52a2da427
@ -1,3 +1,9 @@
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user