Re: [FFmpeg-devel] [PATCH] swr/swresample: avoid reapplication of firstpts

2023-12-14 Thread Gyan Doshi
On 2023-12-15 12:43 am, Michael Niedermayer wrote: On Tue, Dec 12, 2023 at 04:50:08PM +0530, Gyan Doshi wrote: During a resampling operation where 1) user has specified first_pts 2) SWR_FLAG_RESAMPLE is not set initially (directly or otherwise) 3) first_pts has been fulfilled (always using ha

Re: [FFmpeg-devel] [PATCH] swr/swresample: avoid reapplication of firstpts

2023-12-14 Thread Michael Niedermayer
On Tue, Dec 12, 2023 at 04:50:08PM +0530, Gyan Doshi wrote: > During a resampling operation where > > 1) user has specified first_pts > 2) SWR_FLAG_RESAMPLE is not set initially (directly or otherwise) > 3) first_pts has been fulfilled (always using hard compensation) > > then upon first encounte

[FFmpeg-devel] [PATCH] swr/swresample: avoid reapplication of firstpts

2023-12-12 Thread Gyan Doshi
During a resampling operation where 1) user has specified first_pts 2) SWR_FLAG_RESAMPLE is not set initially (directly or otherwise) 3) first_pts has been fulfilled (always using hard compensation) then upon first encountering a delay where a soft compensation is required, swr_set_compensation w