summaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream.c')
-rw-r--r--lib/stream.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/stream.c b/lib/stream.c
index 19f0d78..168dc71 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -156,6 +156,12 @@ int uvc_stream_set_format(struct uvc_stream *stream,
return video_source_set_format(stream->src, &fmt);
}
+int uvc_stream_set_frame_rate(struct uvc_stream *stream, unsigned int fps)
+{
+ printf("=== Setting frame rate to %u fps\n", fps);
+ return video_source_set_frame_rate(stream->src, fps);
+}
+
/* ---------------------------------------------------------------------------
* Stream handling
*/