[FFmpeg-devel] [FFmpeg-cvslog] opusenc: fix infinite loop if flushing encoder upon init
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Dec 12 22:31:42 EET 2018
2018-12-12 21:09 GMT+01:00, Rostislav Pehlivanov <git at videolan.org>:
> ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Wed
> Dec 12 20:05:33 2018 +0000| [83db1efd42bd4d89a5a78bb3001481e009d99304] |
> committer: Rostislav Pehlivanov
> 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.
Please mention tickets you fix.
More information about the ffmpeg-devel