Re: [FFmpeg-devel] [PATCH] avcodec/utils: clear the packet props queue on flushing

2020-11-09 Thread James Almer
On 11/9/2020 2:20 PM, Jan Ekström wrote: On Mon, Nov 9, 2020 at 4:16 PM James Almer wrote: This ensures no queued timestamps or side data are kept and used after seeking, preventing potential desyncs. Signed-off-by: James Almer --- I can verify this patch fixes seeking issues reported down

Re: [FFmpeg-devel] [PATCH] avcodec/utils: clear the packet props queue on flushing

2020-11-09 Thread Jan Ekström
On Mon, Nov 9, 2020 at 4:16 PM James Almer wrote: > > This ensures no queued timestamps or side data are kept and used after > seeking, preventing potential desyncs. > > Signed-off-by: James Almer > --- I can verify this patch fixes seeking issues reported downstream with ASF+WMApro. Patchwork

Re: [FFmpeg-devel] [PATCH] avcodec/utils: clear the packet props queue on flushing

2020-11-09 Thread James Almer
On 11/9/2020 1:14 PM, Paul B Mahol wrote: Is this fixing known bugs? https://github.com/mpv-player/mpv/issues/8248 in theory. On Mon, Nov 9, 2020 at 3:16 PM James Almer wrote: This ensures no queued timestamps or side data are kept and used after seeking, preventing potential desyncs. Si

Re: [FFmpeg-devel] [PATCH] avcodec/utils: clear the packet props queue on flushing

2020-11-09 Thread Paul B Mahol
Is this fixing known bugs? On Mon, Nov 9, 2020 at 3:16 PM James Almer wrote: > This ensures no queued timestamps or side data are kept and used after > seeking, preventing potential desyncs. > > Signed-off-by: James Almer > --- > libavcodec/utils.c | 4 > 1 file changed, 4 insertions(+) >

[FFmpeg-devel] [PATCH] avcodec/utils: clear the packet props queue on flushing

2020-11-09 Thread James Almer
This ensures no queued timestamps or side data are kept and used after seeking, preventing potential desyncs. Signed-off-by: James Almer --- libavcodec/utils.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index db51512e15..a8599b3936 100644 ---