On Wed, Apr 24, 2019 at 9:15 PM Stanimir Varbanov <stanimir.varbanov@xxxxxxxxxx> wrote: > > Hi Hans, > > On 2/15/19 3:44 PM, Hans Verkuil wrote: > > Hi Stanimir, > > > > I never paid much attention to this patch series since others were busy > > discussing it and I had a lot of other things on my plate, but then I heard > > that this patch made G_FMT blocking. > > OK, another option could be to block REQBUF(CAPTURE) until event from hw > is received that the stream is parsed and the resolution is correctly > set by application. Just to note that I'd think to this like a temporal > solution until gstreamer implements v4l events. > > Is that looks good to you? Hmm, I thought we concluded that gstreamer sets the width and height in OUTPUT queue before querying the CAPTURE queue and so making the driver calculate the CAPTURE format based on what's set on OUTPUT would work fine. Did I miss something? Best regards, Tomasz