Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode: fix propagating durations and opaques

2023-02-01 Thread Xiang, Haihao
On Wo, 2023-02-01 at 02:59 +, Xiang, Haihao wrote: > On Di, 2023-01-31 at 14:14 +0100, Anton Khirnov wrote: > > input_image is freed by the time the output packet is constructed, so we > > need to store copies in VAAPIEncodePicture. > > --- > > Is this better? > > --- > > libavcodec/vaapi_enco

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode: fix propagating durations and opaques

2023-01-31 Thread Xiang, Haihao
On Di, 2023-01-31 at 14:14 +0100, Anton Khirnov wrote: > input_image is freed by the time the output packet is constructed, so we > need to store copies in VAAPIEncodePicture. > --- > Is this better? > --- > libavcodec/vaapi_encode.c | 22 +- > libavcodec/vaapi_encode.h | 4 ++

[FFmpeg-devel] [PATCH] lavc/vaapi_encode: fix propagating durations and opaques

2023-01-31 Thread Anton Khirnov
input_image is freed by the time the output packet is constructed, so we need to store copies in VAAPIEncodePicture. --- Is this better? --- libavcodec/vaapi_encode.c | 22 +- libavcodec/vaapi_encode.h | 4 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/l