test-playback: Update misleading comments

We are waiting for a client connection, channel is already there

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
Frediano Ziglio 2018-12-21 08:54:47 +00:00
parent 10b93025f2
commit f76d0bffed

View File

@ -73,12 +73,12 @@ static void playback_timer_cb(SPICE_GNUC_UNUSED void *opaque)
get_frame();
if (!frame) {
/* continue waiting until there is a channel */
/* continue waiting until there is a client */
core->timer_start(playback_timer, 100);
return;
}
/* we have a channel */
/* we have a client */
gettimeofday(&cur, NULL);
cur_usec = cur.tv_usec + cur.tv_sec * 1e6;
if (last_sent_usec == 0) {