From c38f796c73e04addce59be483adb3af8b0889a99 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 21 Jul 2014 21:44:22 +0200 Subject: mot-encoder: send DLS between slides to update more often --- src/mot-encoder.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index 2de98c7..bef84e4 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -319,18 +319,21 @@ int main(int argc, char *argv[]) } } + // Always retransmit DLS after each slide, we want it to be updated frequently + writeDLS(output_fd, dls_file, padlen); + sleep(sleepdelay); } slides_to_transmit.resize(0); } - - if (dls_file) { + else if (dls_file) { // only DLS // Always retransmit DLS, we want it to be updated frequently writeDLS(output_fd, dls_file, padlen); - } - sleep(sleepdelay); + sleep(sleepdelay); + + } if (pDir) { closedir(pDir); -- cgit v1.2.3