mirror of
https://github.com/steve-m/hsdaoh.git
synced 2025-12-10 07:44:41 +01:00
lib: remove yet another print to stdout
This commit is contained in:
parent
6f368dbcf6
commit
21a4b470b4
1 changed files with 1 additions and 5 deletions
|
|
@ -714,11 +714,8 @@ int hsdaoh_start_stream(hsdaoh_dev_t *dev, hsdaoh_read_cb_t cb, void *ctx)
|
||||||
dev->discard_start_frames = 30;
|
dev->discard_start_frames = 30;
|
||||||
res = uvc_start_streaming(dev->uvc_devh, &ctrl, _uvc_callback, (void *)dev, 0);
|
res = uvc_start_streaming(dev->uvc_devh, &ctrl, _uvc_callback, (void *)dev, 0);
|
||||||
|
|
||||||
if (res < 0) {
|
if (res < 0)
|
||||||
uvc_perror(res, "start_streaming"); /* unable to start stream */
|
uvc_perror(res, "start_streaming"); /* unable to start stream */
|
||||||
} else {
|
|
||||||
puts("Streaming...");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|
@ -736,7 +733,6 @@ int hsdaoh_stop_stream(hsdaoh_dev_t *dev)
|
||||||
|
|
||||||
/* End the stream. Blocks until last callback is serviced */
|
/* End the stream. Blocks until last callback is serviced */
|
||||||
uvc_stop_streaming(dev->uvc_devh);
|
uvc_stop_streaming(dev->uvc_devh);
|
||||||
puts("Done streaming.");
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue