Re: [FFmpeg-devel] [PATCH v3] lavc/vvc: Stop c->pix_fmt and s->pix_fmt diverging

2025-01-25 Thread Nuo Mi
On Sat, Jan 18, 2025 at 11:12 PM Nuo Mi wrote: > > > On Sat, Jan 18, 2025 at 4:18 AM Frank Plowman > wrote: > >> When the chroma format changes mid-sequence, c->pix_fmt and s->pix_fmt >> can get out-of-sync. More specifically, >> 1. export_frame_params is called. >>c->pix_fmt and s->pix_fmt

Re: [FFmpeg-devel] [PATCH v3] lavc/vvc: Stop c->pix_fmt and s->pix_fmt diverging

2025-01-18 Thread Nuo Mi
On Sat, Jan 18, 2025 at 4:18 AM Frank Plowman wrote: > When the chroma format changes mid-sequence, c->pix_fmt and s->pix_fmt > can get out-of-sync. More specifically, > 1. export_frame_params is called. >c->pix_fmt and s->pix_fmt are both set to their new values. > 2. set_output_format is c

[FFmpeg-devel] [PATCH v3] lavc/vvc: Stop c->pix_fmt and s->pix_fmt diverging

2025-01-17 Thread Frank Plowman
When the chroma format changes mid-sequence, c->pix_fmt and s->pix_fmt can get out-of-sync. More specifically, 1. export_frame_params is called. c->pix_fmt and s->pix_fmt are both set to their new values. 2. set_output_format is called. c->pix_fmt is set back to its old value. The two getti