We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2caf5b commit e50a855Copy full SHA for e50a855
device/libcamera/options.cc
@@ -359,6 +359,7 @@ static libcamera::Size libcamera_parse_size(const char *value)
359
return libcamera::Size();
360
}
361
362
+#if LIBCAMERA_VERSION_MAJOR == 0 && LIBCAMERA_VERSION_MINOR > 3 && LIBCAMERA_VERSION_PATCH >= 2 // Support for older libcamera versions
363
static libcamera::Point libcamera_parse_point(const char *value)
364
{
365
static const char *POINT_PATTERNS[] =
@@ -379,6 +380,7 @@ static libcamera::Point libcamera_parse_point(const char *value)
379
380
381
return libcamera::Point();
382
383
+#endif
384
385
template<typename T, typename F>
386
static bool libcamera_parse_control_value(libcamera::ControlValue &control_value, const char *value, const F &fn)
0 commit comments