Skip to content

Commit 971b777

Browse files
committed
DVS: do not exit on DVS error in a main loop
It seems like the sdk4.2.1.1 has some issues when reconfiguring device to different format. Probably SDK/driver bug - the problem disappears after few displayed frames.
1 parent 92e24dd commit 971b777

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/video_display/dvs.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,11 @@ void display_dvs_run(void *arg)
423423
sv_fifo_putbuffer(s->sv, s->fifo, s->display_buffer, NULL);
424424
if (res != SV_OK) {
425425
fprintf(stderr, "Error %s\n", sv_geterrortext(res));
426-
exit_uv(1);
427-
return;
426+
/* Here is probably bug in recent DVS SDK (4.2.1.1) that triggers
427+
* this error multiple times after device reconfiguration. After few
428+
* frames it disappears.
429+
* TODO: If ther is no longer the error, remove this comment and exit here.
430+
*/
428431
}
429432

430433
gettimeofday(&s->t, NULL);

0 commit comments

Comments
 (0)