clarify last commit

This commit is contained in:
fduncanh
2022-02-21 13:31:16 -05:00
parent 887ad7f0a6
commit a9e4d73762
2 changed files with 4 additions and 2 deletions

View File

@@ -354,7 +354,8 @@ raop_ntp_thread(void *arg)
logger_log(raop_ntp->logger, LOGGER_DEBUG, "raop_ntp exiting thread");
if (conn_reset && raop_ntp->callbacks.conn_reset) {
raop_ntp->callbacks.conn_reset(raop_ntp->callbacks.cls, timeout_counter, false);
const bool video_reset = false; /* leave "frozen video" in place */
raop_ntp->callbacks.conn_reset(raop_ntp->callbacks.cls, timeout_counter, video_reset);
}
return 0;
}

View File

@@ -506,7 +506,8 @@ raop_rtp_mirror_thread(void *arg)
logger_log(raop_rtp_mirror->logger, LOGGER_DEBUG, "raop_rtp_mirror exiting TCP thread");
if (conn_reset && raop_rtp_mirror->callbacks.conn_reset) {
raop_rtp_mirror->callbacks.conn_reset(raop_rtp_mirror->callbacks.cls, 0, false);
const bool video_reset = false; /* leave "frozen video" showing */
raop_rtp_mirror->callbacks.conn_reset(raop_rtp_mirror->callbacks.cls, 0, video_reset);
}
return 0;
}