summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-21 21:44:22 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-21 21:44:22 +0200
commitc38f796c73e04addce59be483adb3af8b0889a99 (patch)
treed0a462b725854040d840b7227bd265864907e0f2 /src
parent8b7f23635003f2bf9c161131120f3eaca01a9e29 (diff)
downloadfdk-aac-c38f796c73e04addce59be483adb3af8b0889a99.tar.gz
fdk-aac-c38f796c73e04addce59be483adb3af8b0889a99.tar.bz2
fdk-aac-c38f796c73e04addce59be483adb3af8b0889a99.zip
mot-encoder: send DLS between slides to update more often
Diffstat (limited to 'src')
-rw-r--r--src/mot-encoder.cpp11
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);