Re: [FFmpeg-devel] [crop support for matroska demuxer 2/3] libavcodec: Public code to support container crop

2022-10-04 Thread Anton Khirnov
Quoting Hendrik Leppkes (2022-10-01 09:16:20) > Somehow I don't feel like adding the two crops together is really > going to do what most users would expect to happen. It just feels > weird. > It also changes the decoder crop information, and an API user does not > get the pure information from

Re: [FFmpeg-devel] [crop support for matroska demuxer 2/3] libavcodec: Public code to support container crop

2022-10-01 Thread Hendrik Leppkes
On Sat, Oct 1, 2022 at 8:14 AM OvchinnikovDmitrii wrote: > > Support both simple and receive_frame api > The container crop information is applied additional to frame crop information > --- > libavcodec/codec_par.c | 8 > libavcodec/decode.c| 20 > 2 files

[FFmpeg-devel] [crop support for matroska demuxer 2/3] libavcodec: Public code to support container crop

2022-10-01 Thread OvchinnikovDmitrii
Support both simple and receive_frame api The container crop information is applied additional to frame crop information --- libavcodec/codec_par.c | 8 libavcodec/decode.c| 20 2 files changed, 28 insertions(+) diff --git a/libavcodec/codec_par.c