From 7c5f2676c228b7ad92916bfc6866a1c782284503 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 25 May 2021 15:16:20 +0200 Subject: Common ad7e11a: Add seq and pseq information to EDI/ETI decoder --- lib/edi/ETIDecoder.cpp | 2 ++ lib/edi/ETIDecoder.hpp | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/edi/ETIDecoder.cpp b/lib/edi/ETIDecoder.cpp index a377692..0a4da54 100644 --- a/lib/edi/ETIDecoder.cpp +++ b/lib/edi/ETIDecoder.cpp @@ -233,6 +233,8 @@ bool ETIDecoder::decode_tagpacket(const std::vector& value) void ETIDecoder::packet_completed() { + m_received_tagpacket.seq = m_dispatcher.get_seq_info(); + ReceivedTagPacket tp; swap(tp, m_received_tagpacket); m_data_collector.assemble(move(tp)); diff --git a/lib/edi/ETIDecoder.hpp b/lib/edi/ETIDecoder.hpp index e0865ce..3949a14 100644 --- a/lib/edi/ETIDecoder.hpp +++ b/lib/edi/ETIDecoder.hpp @@ -60,6 +60,7 @@ struct eti_stc_data { struct ReceivedTagPacket { std::vector tagpacket; frame_timestamp_t timestamp; + seq_info_t seq; }; -- cgit v1.2.3