fix bug that there is no output in encoder console

review at : https://rbcommons.com/s/OpenH264/r/217/