diff options
author | Stefan Pöschel <github@basicmaster.de> | 2018-11-11 18:28:10 +0100 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2018-11-11 18:29:43 +0100 |
commit | d91981cfae1b2f1502422347bda24b14e7bb6db2 (patch) | |
tree | 0153791fb21b7eb3a8236a0d21232caeb38ea70d /src/dls.h | |
parent | 02c200556a41774f8cab6bd118913dfe448d669c (diff) | |
download | ODR-PadEnc-d91981cfae1b2f1502422347bda24b14e7bb6db2.tar.gz ODR-PadEnc-d91981cfae1b2f1502422347bda24b14e7bb6db2.tar.bz2 ODR-PadEnc-d91981cfae1b2f1502422347bda24b14e7bb6db2.zip |
DLS: add support to request DLS file re-read
A re-read of any of the used DLS files can now be requested by storing a
file with the same filename which is suffixed by `.REQUEST_DLS_REREAD`.
When the next PAD is going to be encoded and such a file is present, the
encoder changes the current DLS file to the related DLS file, if needed
(only applies if multiple DLS files are used). The DLS file is re-read
and the request file is deleted. The DLS is also immediately inserted
into the PAD transmission.
Diffstat (limited to 'src/dls.h')
-rw-r--r-- | src/dls.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -151,6 +151,7 @@ private: public: static const int APPTYPE_START; static const int APPTYPE_CONT; + static const std::string REQUEST_REREAD_SUFFIX; DLSEncoder(PADPacketizer* pad_packetizer) : pad_packetizer(pad_packetizer), dls_toggle(false) {} void encodeLabel(const std::string& dls_file, const DL_PARAMS& dl_params); |