[FFmpeg-devel] [PATCH v2] avcodec/jpeg2000dec: support of 2 fields in 1 AVPacket

Tomas Härdin git at haerdin.se
Thu Apr 25 01:54:48 EEST 2024


ons 2024-04-24 klockan 13:20 +0200 skrev Jerome Martinez:
> Hi, I'm bumping this patch proposal for avoiding a situation where 
> FFmpeg skips half the visual content when 2 jpeg2000 codestreams are 
> present in one frame. I re-reviewed this discussion and think I
> answered 
> all concerns. I'm hesitant with patch v3 because I consider that 
> touching frame_worker_thread for this feature is not so useful but I
> am 
> ok with either patch v2 or v3.

Did you look at doing this further up, say in demux.c? Because adding
codec-specific logic for this seems wrong, when J2K is far from the
only codec that can be used like this in MXF..

/Tomas


More information about the ffmpeg-devel mailing list