multiudpsink: Initialize bytes_sent field.

This fixes endpoints not receiving any data intermittently.

https://bugzilla.gnome.org/show_bug.cgi?id=769773
This commit is contained in:
Thomas Bluemel 2016-08-11 16:32:21 -06:00 committed by Sebastian Dröge
parent 4dff74358e
commit 578e93cd0b

View file

@ -818,6 +818,7 @@ gst_multiudpsink_render_buffers (GstMultiUDPSink * sink, GstBuffer ** buffers,
msgs[i].vectors = &vecs[mem];
msgs[i].num_vectors = mem_nums[i];
msgs[i].num_control_messages = 0;
msgs[i].bytes_sent = 0;
msgs[i].control_messages = NULL;
msgs[i].address = clients[0]->addr;
mem += mem_nums[i];