commit | ea7d2a0257ff344b3e2a53738890efc5efaebef2 | [log] [tgz] |
---|---|---|
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | Fri Aug 25 14:59:06 2017 +0300 |
committer | Tim-Philipp Müller <tim@centricular.com> | Sat Dec 09 16:08:38 2017 +0000 |
tree | d02f7269810eb3d9ed4b7774e59662d33eaea214 | |
parent | 45c82ee79823dc7ee3db691ac23cf325c0091756 [diff] |
tests: udpsrc: ensure test won't timeout if the buffers are already received Sometimes all the buffers are received before the time we lock the check_mutex, in which case g_cond_wait will wait forever for another one. Just check if this is the case before waiting. https://bugzilla.gnome.org/attachment.cgi?id=358397