FFmpeg/libavcodec
Rostislav Pehlivanov 83db1efd42 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>
2018-12-12 20:05:33 +00:00
..
2018-12-01 19:41:48 +01:00
2018-08-28 04:25:35 +01:00
2018-10-15 01:19:45 +02:00
2018-10-03 20:48:49 -03:00
2018-10-12 09:48:07 -07:00
2018-09-23 14:42:34 +01:00
2018-09-23 14:42:34 +01:00
2018-09-30 22:23:02 +02:00
2018-12-10 11:19:36 +01:00
2018-09-23 15:25:50 +02:00
2018-10-23 00:51:55 +02:00
2018-11-10 23:48:27 +01:00
2018-09-09 22:58:26 +02:00
2018-12-10 11:19:36 +01:00
2018-12-10 11:19:36 +01:00
2018-12-01 19:41:48 +01:00
2018-12-03 23:34:05 +01:00
2018-11-18 22:59:29 +01:00
2018-11-18 22:59:29 +01:00
2018-11-18 22:59:29 +01:00
2018-11-18 22:59:29 +01:00
2018-09-08 21:21:50 +02:00
2018-12-10 11:19:36 +01:00
2018-09-30 22:23:02 +02:00
2018-12-10 21:38:08 +01:00