diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-07-28 11:54:32 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-07-28 11:54:32 +0200 |
commit | a1921a1a967b65c99a830141e9faaecd77b0f317 (patch) | |
tree | 193c00c382f1389f61a01870c937802e7e49212c /src/dabOutput/dabOutputZMQ.cpp | |
parent | 9aee86aace7d6c504b410c972d0ab5065f7f7b94 (diff) | |
download | dabmux-a1921a1a967b65c99a830141e9faaecd77b0f317.tar.gz dabmux-a1921a1a967b65c99a830141e9faaecd77b0f317.tar.bz2 dabmux-a1921a1a967b65c99a830141e9faaecd77b0f317.zip |
Add new zeromq config format
This gives the choice for the transmission of the metadata,
and the enabling of the TAI downloader is also triggered
appropriately
Diffstat (limited to 'src/dabOutput/dabOutputZMQ.cpp')
-rw-r--r-- | src/dabOutput/dabOutputZMQ.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dabOutput/dabOutputZMQ.cpp b/src/dabOutput/dabOutputZMQ.cpp index 582af80..f50b7c3 100644 --- a/src/dabOutput/dabOutputZMQ.cpp +++ b/src/dabOutput/dabOutputZMQ.cpp @@ -126,7 +126,9 @@ int DabOutputZMQ::Close() void DabOutputZMQ::setMetadata(std::shared_ptr<OutputMetadata> &md) { - meta_.push_back(md); + if (m_allow_metadata) { + meta_.push_back(md); + } } #endif |