mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 18:40:16 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user