summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_signalstats.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2018-12-12 20:05:33 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2018-12-12 20:05:33 +0000
commit83db1efd42bd4d89a5a78bb3001481e009d99304 (patch)
treece4360d8149a130ff50fd637adeaf4a1e2552d34 /libavfilter/vf_signalstats.c
parent0e833f615b59cd7611374d1d77257eaf00635ad7 (diff)
downloadffmpeg-streaming-83db1efd42bd4d89a5a78bb3001481e009d99304.zip
ffmpeg-streaming-83db1efd42bd4d89a5a78bb3001481e009d99304.tar.gz
opusenc: fix infinite loop if flushing encoder upon init
The issue is that the afq still has samples as on init it counts the overlap used as a delay to adjust the PTS it generates, hence we can't rely on it right after init. So just check to see if any frames have been encoded. frame_number can't be anything but 0 right after init and can only be set by lavc. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavfilter/vf_signalstats.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud