lib: remove yet another print to stdout

This commit is contained in:
Steve Markgraf 2024-12-26 00:11:17 +01:00
parent 6f368dbcf6
commit 21a4b470b4

View file

@ -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;
} }