Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_rfc4175: fix interlace format

2022-02-04 Thread lance . lmwang
On Wed, Feb 02, 2022 at 03:45:10PM -0500, Patrick Keroulas wrote: > In previous state, a new frame was allocated on each timestamp step, > i.e. each frame/field transition. However, for interlace, a new frame > should be allocated on 1st field, completed with the 2nd and finally > freed. > > This

Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_rfc4175: fix interlace format

2022-02-03 Thread lance . lmwang
On Wed, Feb 02, 2022 at 03:45:10PM -0500, Patrick Keroulas wrote: > In previous state, a new frame was allocated on each timestamp step, > i.e. each frame/field transition. However, for interlace, a new frame > should be allocated on 1st field, completed with the 2nd and finally > freed. > > This

[FFmpeg-devel] [PATCH] avformat/rtpdec_rfc4175: fix interlace format

2022-02-02 Thread Patrick Keroulas
In previous state, a new frame was allocated on each timestamp step, i.e. each frame/field transition. However, for interlace, a new frame should be allocated on 1st field, completed with the 2nd and finally freed. This commit fixes the frame allocation and the detection of missing RTP markers. S