videotestsrc: fix build if adder is disabled

The videotestsrc is not build if the adder plugin is disabled. This is a
copy/paste error introduced in Commit 3de86b2b97 ("docs: port plugins to
explicit sources").

Fix the check to actually test the 'videotestsrc' option.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8399>
This commit is contained in:
Michael Tretter 2025-02-03 11:12:59 +01:00 committed by GStreamer Marge Bot
parent 97a6a8213c
commit 1a8143f721

View file

@ -17,7 +17,7 @@ plugin_sources += {
'videotestsrc': pathsep.join(doc_sources)
}
if get_option('adder').disabled()
if get_option('videotestsrc').disabled()
subdir_done()
endif