Re: [FFmpeg-devel] [PATCH 5/6] fftools/ffplay: stop using AVFrame.pkt_pos

2023-03-13 Thread Marton Balint
On Fri, 10 Mar 2023, Anton Khirnov wrote: This field is ad-hoc and will be deprecated. Use the recently-added AV_CODEC_FLAG_COPY_OPAQUE to pass arbitrary user data from packets to frames. --- fftools/ffplay.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff

[FFmpeg-devel] [PATCH 5/6] fftools/ffplay: stop using AVFrame.pkt_pos

2023-03-10 Thread Anton Khirnov
This field is ad-hoc and will be deprecated. Use the recently-added AV_CODEC_FLAG_COPY_OPAQUE to pass arbitrary user data from packets to frames. --- fftools/ffplay.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c i