mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2006-04-28 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||||
|
|
|
@ -664,7 +664,7 @@ gst_multi_fd_sink_get_stats (GstMultiFdSink * sink, int fd)
|
||||||
GValue value = { 0 };
|
GValue value = { 0 };
|
||||||
guint64 interval;
|
guint64 interval;
|
||||||
|
|
||||||
result = g_value_array_new (4);
|
result = g_value_array_new (5);
|
||||||
|
|
||||||
g_value_init (&value, G_TYPE_UINT64);
|
g_value_init (&value, G_TYPE_UINT64);
|
||||||
g_value_set_uint64 (&value, client->bytes_sent);
|
g_value_set_uint64 (&value, client->bytes_sent);
|
||||||
|
|
Loading…
Reference in a new issue