aboutsummaryrefslogtreecommitdiffstats
path: root/src/TimestampDecoder.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-15 11:07:45 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-15 11:07:45 +0100
commit1e4c0f261e00f67b0ac442a26ba581d4a1e4ed28 (patch)
treed9effd124dd5ed20459956601cd40988ff300da3 /src/TimestampDecoder.h
parent21b9b097329453bb3c3666d9429a1d1c7257efae (diff)
downloaddabmod-1e4c0f261e00f67b0ac442a26ba581d4a1e4ed28.tar.gz
dabmod-1e4c0f261e00f67b0ac442a26ba581d4a1e4ed28.tar.bz2
dabmod-1e4c0f261e00f67b0ac442a26ba581d4a1e4ed28.zip
Add timestamp of frame 0 to statistics
Diffstat (limited to 'src/TimestampDecoder.h')
-rw-r--r--src/TimestampDecoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/TimestampDecoder.h b/src/TimestampDecoder.h
index 0411f1a..31c8bec 100644
--- a/src/TimestampDecoder.h
+++ b/src/TimestampDecoder.h
@@ -165,6 +165,9 @@ class TimestampDecoder : public RemoteControllable
int inhibit_second_update = 0;
bool offset_changed = false;
+ uint32_t time_secs_of_frame0 = 0;
+ uint32_t time_pps_of_frame0 = 0;
+
/* When the type or identifier don't match, the decoder must
* be disabled
*/