Re: [PATCH v2] v4l2-ctl: add function vidcap_get_and_update_fmt

2019-01-30 Thread Hans Verkuil
On 1/30/19 3:42 PM, Dafna Hirschfeld wrote: > add a function vidcap_get_and_update_fmt to set > the format from cmd params. Use it in capture_setup. > > Signed-off-by: Dafna Hirschfeld > --- > Changes from v1: > change the order of vidcap_get_and_update_fmt and vidcap_set > > utils/v4l2-ctl/v4l2

[PATCH v2] v4l2-ctl: add function vidcap_get_and_update_fmt

2019-01-30 Thread Dafna Hirschfeld
add a function vidcap_get_and_update_fmt to set the format from cmd params. Use it in capture_setup. Signed-off-by: Dafna Hirschfeld --- Changes from v1: change the order of vidcap_get_and_update_fmt and vidcap_set utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 13 +++ utils/v4l2-ctl/v4l2-ctl-vidcap.c