Re: [FFmpeg-devel] [PATCH v2] avformat/movenc: split empty text sample when duration overflow

2019-09-08 Thread Jun Li
On Sun, Sep 8, 2019 at 5:59 PM Jun Li wrote: > > > On Sun, Sep 8, 2019 at 5:51 PM Jun Li wrote: > >> Fix #7637 >> One empty/end sample is created and inserted between two caption lines >> when there is a gap. >> This patch is to split the sample into multiple ones when its duration is >> too

Re: [FFmpeg-devel] [PATCH v2] avformat/movenc: split empty text sample when duration overflow

2019-09-08 Thread Jun Li
On Sun, Sep 8, 2019 at 5:51 PM Jun Li wrote: > Fix #7637 > One empty/end sample is created and inserted between two caption lines > when there is a gap. > This patch is to split the sample into multiple ones when its duration is > too long (>= INT_MAX). > --- > libavformat/movenc.c

[FFmpeg-devel] [PATCH v2] avformat/movenc: split empty text sample when duration overflow

2019-09-08 Thread Jun Li
Fix #7637 One empty/end sample is created and inserted between two caption lines when there is a gap. This patch is to split the sample into multiple ones when its duration is too long (>= INT_MAX). --- libavformat/movenc.c | 24 ++-