mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-07-23 20:21:58 +00:00
Add option to which allows to handle truncated frames. (#289)
Extension of c96559e4ac.
Some cheap Chinise cameras produces frames which are detected as 'broken'. However they
are later handled well.
Introduce an option which allows disable the check on demand.
This commit is contained in:
@@ -119,6 +119,7 @@ typedef struct {
|
||||
uint timeout;
|
||||
us_controls_s ctl;
|
||||
us_capture_runtime_s *run;
|
||||
bool allow_truncated_frames;
|
||||
} us_capture_s;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user