Ignore errors from avcodec_send_packet.
authorCarl Hetherington <cth@carlh.net>
Wed, 13 Oct 2021 13:50:13 +0000 (15:50 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 13 Oct 2021 13:50:13 +0000 (15:50 +0200)
commita70e10c59ae1314a3d8e1d44e060dbfe1c7cb7e8
tree9ac509f83e3a08dff606604f0d156d6616f10996
parentfcb32ed8013ed35f179f2dc213df72bc84150d30
Ignore errors from avcodec_send_packet.

After seeking it appears that we often get irrelevant errors from this
method.  ffplay.c seems to ignore them, and this commit means that
we do too (just logging them).

I think these errors during a non-seeking "encoding" run could be
cause for concern; perhaps we should take more note of them in that
case.
src/lib/ffmpeg_decoder.cc
src/lib/ffmpeg_decoder.h