[FFmpeg-devel] [PATCH v2] avcodec/v4l2_m2m_dec: resolve resolution change

2023-06-30 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" It shouldn't allocate buffer nor get the capture fmt before the resolution change event appeared in decoder setup. And it should not apply to new resolution before the buffer from the previous sequence is dequeued. Changelog: v2 1. Decoder won't get or set format befo

[FFmpeg-devel] [PATCH] avcodec/v4l2_m2m_dec: resolve resolution change

2023-06-29 Thread Hsia-Jun Li
It shouldn't allocate buffer before the resolution change event appeared in decoder setup. And it should not apply to new resolution before the buffer from the previous sequence is dequeued. Change-Id: Id04550b0f17e1501b670a3bcbdd860d5836259bf Signed-off-by: Hsia-Jun(Randy) Li ---  libavcodec/v4