]> git.sesse.net Git - ffmpeg/commit
avcodec/videotoolboxenc: don't wait when flushing data
authorTian Qi <tianqi@kuaishou.com>
Thu, 27 Aug 2020 02:53:27 +0000 (10:53 +0800)
committerRick Kern <kernrj@gmail.com>
Tue, 29 Sep 2020 01:46:30 +0000 (21:46 -0400)
commit1cbea3f9caa8d8641f749219a0c207320908778f
tree61781f37aa5ef2f357f7c713b573f9f1755ff2ef
parentd80d91d2135e416a0e50ac7127d95ac995f805f6
avcodec/videotoolboxenc: don't wait when flushing data

because there is run in thread mode, few times will block
the workflow at the wait, so check the status is flushing data,
don't wait when flushing data.

Signed-off-by: Tian Qi <tianqi@kuaishou.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Rick Kern <kernrj@gmail.com>
libavcodec/videotoolboxenc.c