OSDN Git Service

mmaldec: send only a single EOS packet on flushing
authorwm4 <nfxjfg@googlemail.com>
Thu, 14 Apr 2016 10:21:22 +0000 (12:21 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 30 Apr 2016 06:26:22 +0000 (08:26 +0200)
commitce589940c2cac936891e8bba275580d6efc41e8b
tree85b3e9c1600f05467894922e7bc3b531167aefa5
parent46aaad78c3cf03d43e7c9ca1d4a8b8a71fb0527d
mmaldec: send only a single EOS packet on flushing

Fixes apparent mmal_port_disable() freezes in ffmmal_stop_decoder() when
calling ffmmal_decode() with flush semantics a large number of times in
a row.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/mmaldec.c