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:52:40 +0000 (15:52 +0200)
commitca44e3542214050de6cb8bbb223138765ac4bdb7
tree37277bb85831252d7e5dae94389a6596fa588ccb
parent06ccbd71896e73221122ef61014dd64fe345536a
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