diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-07 08:49:29 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-07 08:49:29 +0100 |
commit | 1d833b718845b97a5b1d90f33b547b1772bc0708 (patch) | |
tree | bd34f1a8d25e150858e3bba5cbc7c0915d23f948 /src/FicSource.h | |
parent | 1dadf3b7856940911724d02613085d57535da474 (diff) | |
download | dabmod-1d833b718845b97a5b1d90f33b547b1772bc0708.tar.gz dabmod-1d833b718845b97a5b1d90f33b547b1772bc0708.tar.bz2 dabmod-1d833b718845b97a5b1d90f33b547b1772bc0708.zip |
Add new flowgraph path for metadata
Diffstat (limited to 'src/FicSource.h')
-rw-r--r-- | src/FicSource.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/FicSource.h b/src/FicSource.h index 77ac741..93c1a7f 100644 --- a/src/FicSource.h +++ b/src/FicSource.h @@ -36,7 +36,7 @@ #include <vector> #include <sys/types.h> -class FicSource : public ModInput +class FicSource : public ModInput, public ModMetadata { public: FicSource(unsigned ficf, unsigned mid); @@ -45,12 +45,17 @@ public: const std::vector<PuncturingRule>& get_rules(); void loadFicData(const Buffer& fic); - int process(Buffer* outputData); - const char* name() { return "FicSource"; } + int process(Buffer* outputData) override; + const char* name() override { return "FicSource"; } + + void loadTimestamp(const std::shared_ptr<struct frame_timestamp>& ts); + virtual meta_vec_t process_metadata( + const meta_vec_t& metadataIn) override; private: size_t d_framesize; Buffer d_buffer; + std::shared_ptr<struct frame_timestamp> d_ts; std::vector<PuncturingRule> d_puncturing_rules; }; |