Fix record bug
This commit is contained in:
parent
672b9da6f9
commit
59370e3e8d
|
@ -31,8 +31,8 @@ int main(int argc, char *argv[]) {
|
||||||
auto &&device = device::select();
|
auto &&device = device::select();
|
||||||
if (!device)
|
if (!device)
|
||||||
return 1;
|
return 1;
|
||||||
device->SetStreamRequest(
|
device->InitResolution(Resolution::RES_1280x400);
|
||||||
Resolution::RES_1280x400, Format::BGR888, FrameRate::RATE_30_FPS);
|
device->SetStreamRequest(Format::BGR888, FrameRate::RATE_30_FPS);
|
||||||
/*
|
/*
|
||||||
{ // auto-exposure
|
{ // auto-exposure
|
||||||
device->SetOptionValue(Option::EXPOSURE_MODE, 0);
|
device->SetOptionValue(Option::EXPOSURE_MODE, 0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user