Re: [FFmpeg-devel] [PATCH] ffmpeg: stop accessing private AVStream.codec_info_nb_frames

2021-05-02 Thread James Almer
On 4/29/2021 11:38 AM, James Almer wrote: Use AVSTREAM_EVENT_FLAG_NEW_PACKETS instead, which should provide the same information in this case. Finishes removing all uses of this field as started by 87f0c8280c. Signed-off-by: James Almer --- fftools/ffmpeg_opt.c | 3 ++- 1 file changed, 2 ins

[FFmpeg-devel] [PATCH] ffmpeg: stop accessing private AVStream.codec_info_nb_frames

2021-04-29 Thread James Almer
Use AVSTREAM_EVENT_FLAG_NEW_PACKETS instead, which should provide the same information in this case. Finishes removing all uses of this field as started by 87f0c8280c. Signed-off-by: James Almer --- fftools/ffmpeg_opt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fftool