diff options
-rw-r--r-- | stream.c | 5 | ||||
-rw-r--r-- | uvc.c | 2 |
2 files changed, 2 insertions, 5 deletions
@@ -230,11 +230,6 @@ void uvc_stream_delete(struct uvc_stream *stream) void uvc_stream_init_uvc(struct uvc_stream *stream, struct uvc_function_config *fc) { - /* - * FIXME: The maximum size should be specified per format and frame. - */ - stream->uvc->maxsize = 0; - uvc_set_config(stream->uvc, fc); uvc_events_init(stream->uvc, stream->events); } @@ -357,6 +357,8 @@ void uvc_events_init(struct uvc_device *dev, struct events *events) void uvc_set_config(struct uvc_device *dev, struct uvc_function_config *fc) { + /* FIXME: The maximum size should be specified per format and frame. */ + dev->maxsize = 0; dev->fc = fc; } |