Re: [PATCH] media: coda: do not try to propagate format if capture queue busy

2018-04-06 Thread Philipp Zabel
Hi Tomasz, On Tue, 2018-04-03 at 10:13 +, Tomasz Figa wrote: > Hi Philipp, > > On Thu, Mar 29, 2018 at 2:12 AM Philipp Zabel > wrote: > > > The driver helpfully resets the capture queue format and selection > > rectangle whenever output format is changed. This only

Re: [PATCH] media: coda: do not try to propagate format if capture queue busy

2018-04-06 Thread Philipp Zabel
Hi Ian, On Fri, 2018-04-06 at 09:40 +0100, Ian Arkver wrote: > > - ret = coda_try_fmt_vid_cap(file, priv, _cap); > > - if (ret) > > - return ret; > > - > > - q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); > > - r.left = 0; > > - r.top = 0; > > - r.width =

Re: [PATCH] media: coda: do not try to propagate format if capture queue busy

2018-04-06 Thread Ian Arkver
On 28/03/18 18:12, Philipp Zabel wrote: The driver helpfully resets the capture queue format and selection rectangle whenever output format is changed. This only works while the capture queue is not busy. Signed-off-by: Philipp Zabel ---

Re: [PATCH] media: coda: do not try to propagate format if capture queue busy

2018-04-03 Thread Tomasz Figa
Hi Philipp, On Thu, Mar 29, 2018 at 2:12 AM Philipp Zabel wrote: > The driver helpfully resets the capture queue format and selection > rectangle whenever output format is changed. This only works while > the capture queue is not busy. Is the code in question used only