summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2024-02-05 14:59:06 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2024-02-05 14:59:06 -0500
commit72714103919d22e4e0bda1aee344e431d5f0aa8b (patch)
tree3500815af86fb03bf36722d4407991d4a4efec87 /subprojects
parentddd9dcc559a3c17b574dc6e2ce8b1ab167c5836d (diff)
analyticsoverlay: Don't error out on lack on dependency in auto mode
If the option is set to auto, it shouldn't fail if the dependency is missing. Fixes #3266 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6060>
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/gst-plugins-bad/ext/analyticsoverlay/meson.build7
1 files changed, 0 insertions, 7 deletions
diff --git a/subprojects/gst-plugins-bad/ext/analyticsoverlay/meson.build b/subprojects/gst-plugins-bad/ext/analyticsoverlay/meson.build
index 3b3d5a64f0..824b382da8 100644
--- a/subprojects/gst-plugins-bad/ext/analyticsoverlay/meson.build
+++ b/subprojects/gst-plugins-bad/ext/analyticsoverlay/meson.build
@@ -1,8 +1,3 @@
-if get_option('analyticsoverlay').disabled()
- gstanalyticsoverlay_ext_dep = disabler()
- subdir_done()
-endif
-
analyticsoverlay_sources = [
'gstanalyticsoverlay.c',
'gstobjectdetectionoverlay.c',
@@ -25,6 +20,4 @@ if gstanalyticsoverlay_ext_dep.found()
install_dir : plugins_install_dir,
)
plugins += [gstanalyticsoverlay]
-else
- error('analyticsoverlay plugin is enabled, but dependency is missing')
endif