diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-07-21 21:44:22 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-07-21 21:44:22 +0200 |
commit | a8e44ce4dce1d4d587a3a3f18da5efd7e919f455 (patch) | |
tree | 97acc3d7ff58200914511afffb7cb98996f10533 | |
parent | 95e910c390b0a1823829e0a82b75759ec79b826a (diff) | |
download | ODR-PadEnc-a8e44ce4dce1d4d587a3a3f18da5efd7e919f455.tar.gz ODR-PadEnc-a8e44ce4dce1d4d587a3a3f18da5efd7e919f455.tar.bz2 ODR-PadEnc-a8e44ce4dce1d4d587a3a3f18da5efd7e919f455.zip |
mot-encoder: send DLS between slides to update more often
-rw-r--r-- | src/mot-encoder.cpp | 11 |
1 files 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); |