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

2023-12-18 Thread Gyan Doshi
On 2023-12-18 09:31 am, Gyan Doshi wrote: On 2023-12-16 03:44 pm, 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

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

2023-12-17 Thread Gyan Doshi
On 2023-12-16 03:44 pm, 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 encountering a delay where a soft

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

2023-12-16 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