diff --git a/spa/plugins/libcamera/libcamera-source.cpp b/spa/plugins/libcamera/libcamera-source.cpp index 8d91f76af..e7b350424 100644 --- a/spa/plugins/libcamera/libcamera-source.cpp +++ b/spa/plugins/libcamera/libcamera-source.cpp @@ -60,14 +60,6 @@ struct buffer { void *ptr; }; -#define MAX_CONTROLS 64 - -struct control { - uint32_t id; - uint32_t ctrl_id; - double value; -}; - struct port { struct impl *impl; @@ -78,9 +70,6 @@ struct port { uint32_t memtype = 0; - struct control controls[MAX_CONTROLS]; - uint32_t n_controls = 0; - struct buffer buffers[MAX_BUFFERS]; uint32_t n_buffers = 0; struct spa_list queue;