forked from luck/tmp_suning_uos_patched
media: coda: debug output when setting visible size via crop selection
In addition to the S_FMT debug output, S_SELECTION (SEL_TGT_CROP) is relevant to determine encoded size. Add debug output for it. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
8f90d15e6d
commit
c229f5c746
|
@ -962,6 +962,9 @@ static int coda_s_selection(struct file *file, void *fh,
|
|||
|
||||
q_data->rect = s->r;
|
||||
|
||||
coda_dbg(1, ctx, "Setting crop rectangle: %dx%d\n",
|
||||
s->r.width, s->r.height);
|
||||
|
||||
return 0;
|
||||
}
|
||||
/* else fall through */
|
||||
|
|
Loading…
Reference in New Issue
Block a user