Commit b8a8cd39 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud

decoder: initialize last timestamp

When always recording, the uninitialized value could break the overlay
filter, making one of the video sources not get filtered properly.

Change-Id: I137aa175f0ba5d88a660c6bcfa54f37bd65b7c9d
parent fd30c963
......@@ -169,7 +169,7 @@ private:
AVStream *avStream_ = nullptr;
bool emulateRate_ = false;
int64_t startTime_;
int64_t lastTimestamp_;
int64_t lastTimestamp_ {0};
DeviceParams inputParams_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment