Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-22 Thread Jan Ekström
On Fri, Feb 22, 2019 at 3:11 PM Michael Niedermayer wrote: > > On Thu, Feb 21, 2019 at 01:16:00PM +0200, Jan Ekström wrote: > > This fixes buffering of samples which causes sudden ballooning of > > memory usage in case of no subtitle samples coming in for a while if > > the filter chain had been

Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-22 Thread Michael Niedermayer
On Thu, Feb 21, 2019 at 01:16:00PM +0200, Jan Ekström wrote: > This fixes buffering of samples which causes sudden ballooning of > memory usage in case of no subtitle samples coming in for a while if > the filter chain had been re-initialized. > > You can also see messages a la: > "Error while

Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-21 Thread Jan Ekström
On Thu, Feb 21, 2019 at 1:30 PM Nicolas George wrote: > > Jan Ekström (12019-02-21): > > This fixes buffering of samples which causes sudden ballooning of > > memory usage in case of no subtitle samples coming in for a while if > > the filter chain had been re-initialized. > > > > You can also

Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-21 Thread Nicolas George
Jan Ekström (12019-02-21): > This fixes buffering of samples which causes sudden ballooning of > memory usage in case of no subtitle samples coming in for a while if > the filter chain had been re-initialized. > > You can also see messages a la: > "Error while add the frame to buffer

[FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-21 Thread Jan Ekström
This fixes buffering of samples which causes sudden ballooning of memory usage in case of no subtitle samples coming in for a while if the filter chain had been re-initialized. You can also see messages a la: "Error while add the frame to buffer source(Invalid argument)." disappearing after