Lazy frame mechanism has mechanism of range calculation
and filling timestamp gaps when next GOP is started.
It was possible to be called without any decoding request,
so assertion was failed.
To fix this, additional requirement is added, so decoding
requests list is not empty.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-707
Change-Id: I11d24d0e9da1740f2d05b3a70dc55e74ae7ce40f
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
}
if (frames_timestamp.empty() && CanHaveBidirectionalFrames() &&
+ !decoding_requests_.empty() &&
decoding_requests_.size() >= MaxForwardReferenceFrameDistance(codec_) &&
std::none_of(decoding_requests_.begin(), decoding_requests_.end(),
[](const DecodingRequest& decoding_request) {