From c64f9dda31d48205b7628d8e92ac105ea9fb4409 Mon Sep 17 00:00:00 2001 From: Thor Tomasarson Date: Tue, 3 Aug 2021 13:28:26 +0000 Subject: [PATCH] pylonsrc: the testimagesource should only be set if explicitly configured --- sys/pylon/gstpylonsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/pylon/gstpylonsrc.c b/sys/pylon/gstpylonsrc.c index b021064..5d53442 100644 --- a/sys/pylon/gstpylonsrc.c +++ b/sys/pylon/gstpylonsrc.c @@ -2174,7 +2174,7 @@ error: static gboolean gst_pylonsrc_set_test_image_source (GstPylonSrc * src) { - if (is_prop_implicit (src, PROP_TESTIMAGESOURCE)) { + if (!(is_prop_default (src, PROP_TESTIMAGESOURCE))) { // Set whether test image will be shown if (feature_supported (src, "ImageFilename")) { GENAPIC_RESULT res;