Skip to content
Snippets Groups Projects
Commit b8a8cd39 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ private: ...@@ -169,7 +169,7 @@ private:
AVStream *avStream_ = nullptr; AVStream *avStream_ = nullptr;
bool emulateRate_ = false; bool emulateRate_ = false;
int64_t startTime_; int64_t startTime_;
int64_t lastTimestamp_; int64_t lastTimestamp_ {0};
DeviceParams inputParams_; DeviceParams inputParams_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment