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 | c38f796c73e04addce59be483adb3af8b0889a99 (patch) | |
tree | d0a462b725854040d840b7227bd265864907e0f2 /src | |
parent | 8b7f23635003f2bf9c161131120f3eaca01a9e29 (diff) | |
download | ODR-AudioEnc-c38f796c73e04addce59be483adb3af8b0889a99.tar.gz ODR-AudioEnc-c38f796c73e04addce59be483adb3af8b0889a99.tar.bz2 ODR-AudioEnc-c38f796c73e04addce59be483adb3af8b0889a99.zip |
mot-encoder: send DLS between slides to update more often
Diffstat (limited to 'src')
-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); |