summaryrefslogtreecommitdiffstats
path: root/src/odr-audioenc.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 17:07:16 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 17:07:16 +0200
commiteab95c0e7a7fad7d8fc5dd9b00b9ddb565d15925 (patch)
tree98a4b7c273e365cd8b30372b5340ff66bab69f01 /src/odr-audioenc.cpp
parent579c88d151d55ea9bf302fe7006cbee8c8fa1d4e (diff)
downloadODR-AudioEnc-eab95c0e7a7fad7d8fc5dd9b00b9ddb565d15925.tar.gz
ODR-AudioEnc-eab95c0e7a7fad7d8fc5dd9b00b9ddb565d15925.tar.bz2
ODR-AudioEnc-eab95c0e7a7fad7d8fc5dd9b00b9ddb565d15925.zip
Properly apply -T option
Diffstat (limited to 'src/odr-audioenc.cpp')
-rw-r--r--src/odr-audioenc.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp
index c3d4cb6..f4cf01e 100644
--- a/src/odr-audioenc.cpp
+++ b/src/odr-audioenc.cpp
@@ -609,6 +609,10 @@ int AudioEnc::run()
}
}
+ if (not edi_output_uris.empty()) {
+ edi_output.set_tist(tist_enabled, tist_delay_ms);
+ }
+
if (padlen != 0) {
int flags;
if (mkfifo(pad_fifo, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH) != 0) {
@@ -1368,7 +1372,7 @@ int main(int argc, char *argv[])
int ch=0;
int index;
while(ch != -1) {
- ch = getopt_long(argc, argv, "aAhDlRVb:B:c:e:f:i:j:k:L:o:r:d:p:P:s:S:v:w:Wg:C:", longopts, &index);
+ ch = getopt_long(argc, argv, "aAhDlRVb:B:c:e:f:i:j:k:L:o:r:d:p:P:s:S:T:v:w:Wg:C:", longopts, &index);
switch (ch) {
case 0: // AAC-LC
audio_enc.aot = AOT_DABPLUS_AAC_LC;