Re: [FFmpeg-devel] [PATCH] matroska read_seek: make max diff for last known subtitle configurable

2016-11-25 Thread wm4
On Fri, 25 Nov 2016 07:48:40 +0100 Rainer Hochecker wrote: > I was tempted to submit a patch with this feature deleted. Unfortunately I > was not able to find the original reason > why this was implemented. I am sure there was a good reason and this reason > may still be a good one. It's commit

Re: [FFmpeg-devel] [PATCH] matroska read_seek: make max diff for last known subtitle configurable

2016-11-25 Thread Rainer Hochecker
I was tempted to submit a patch with this feature deleted. Unfortunately I was not able to find the original reason why this was implemented. I am sure there was a good reason and this reason may still be a good one. ___ ffmpeg-devel mailing list ffmpeg-d

Re: [FFmpeg-devel] [PATCH] matroska read_seek: make max diff for last known subtitle configurable

2016-11-24 Thread wm4
On Thu, 24 Nov 2016 12:02:45 +0100 Rainer Hochecker wrote: > From: Rainer Hochecker > > Allow players to reduce the time read_seek sets the file pos before desired > position. > Hard coded 30 seconds is a lot and takes several seconds when the source is on > a network share. > > > Signed-off

[FFmpeg-devel] [PATCH] matroska read_seek: make max diff for last known subtitle configurable

2016-11-24 Thread Rainer Hochecker
From: Rainer Hochecker Allow players to reduce the time read_seek sets the file pos before desired position. Hard coded 30 seconds is a lot and takes several seconds when the source is on a network share. Signed-off-by: Rainer Hochecker --- libavformat/matroskadec.c | 14 +- 1 fi