Re: [FFmpeg-devel] [PATCH v3] avformat/mov: add option max_stts_delta

2021-12-26 Thread Gyan Doshi
On 2021-12-27 05:21 am, Michael Niedermayer wrote: On Sun, Dec 26, 2021 at 09:30:44PM +0530, Gyan Doshi wrote: Very high stts sample deltas may occasionally be intended but usually they are written in error or used to store a negative value for dts correction when treated as signed 32-bit int

Re: [FFmpeg-devel] [PATCH v3] avformat/mov: add option max_stts_delta

2021-12-26 Thread Michael Niedermayer
On Sun, Dec 26, 2021 at 09:30:44PM +0530, Gyan Doshi wrote: > Very high stts sample deltas may occasionally be intended but usually > they are written in error or used to store a negative value for dts correction > when treated as signed 32-bit integers. > > This option lets the user set an upper

Re: [FFmpeg-devel] [PATCH v3] avformat/mov: add option max_stts_delta

2021-12-26 Thread zhilizhao(赵志立)
> On Dec 27, 2021, at 12:00 AM, Gyan Doshi wrote: > > Very high stts sample deltas may occasionally be intended but usually > they are written in error or used to store a negative value for dts correction > when treated as signed 32-bit integers. > > This option lets the user set an upper limi

[FFmpeg-devel] [PATCH v3] avformat/mov: add option max_stts_delta

2021-12-26 Thread Gyan Doshi
Very high stts sample deltas may occasionally be intended but usually they are written in error or used to store a negative value for dts correction when treated as signed 32-bit integers. This option lets the user set an upper limit, beyond which the delta is clamped to 1. Values greater than th