﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
929	Encoder hangs when too few frames in source file	karlsharman		"If the encoder is unable to read a frame from the source video file due to EOF, it hangs (goes in an endless loop).

A quick way to demonstrate this is:

./bin/EncoderAppStatic -c cfg/encoder_intra_vtm.cfg -c cfg/per-sequence/BasketballPass.cfg -fs 499 -f 3 --TemporalSubsampleRatio=1



Possible fix might be:
   EncApp.cpp:1100:encodePrep(...)
     Change
       return keepDoing;
     to
       return keepDoing && !eos;

   EncLib.cpp:799:encode(...)
     Add
       if (!m_iNumPicRcvd) { return false; }
     to the start of the function.

   EncLib.cpp:926:encode(...)
     Add
       if (!m_iNumPicRcvd) { return false; }
     to the start of the function.
"	defect	new	minor		VTM	VTM-8.0			ksuehring XiangLi fbossen jvet@…
