DVS: Fixed an error

Cannot test by now but it seemed that there has been a wrong condition
whether autodetect format or not.
This commit is contained in:
Martin Pulec
2017-03-02 10:27:55 +01:00
parent 6526d7c2ac
commit 178e3c346c

View File

@@ -368,7 +368,7 @@ static int vidcap_dvs_init(const struct vidcap_params *params, void **state)
s->hd_video_mode = 0;
if(!s->mode) {
if (s->mode) {
switch(s->frame->color_spec) {
case DVS10:
s->hd_video_mode |= SV_MODE_COLOR_YUV422 | SV_MODE_NBIT_10BDVS;