pylonsrc: the testimagesource should only be set if explicitly configured
This commit is contained in:
parent
ee440aa927
commit
c64f9dda31
@ -2174,7 +2174,7 @@ error:
|
|||||||
static gboolean
|
static gboolean
|
||||||
gst_pylonsrc_set_test_image_source (GstPylonSrc * src)
|
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
|
// Set whether test image will be shown
|
||||||
if (feature_supported (src, "ImageFilename")) {
|
if (feature_supported (src, "ImageFilename")) {
|
||||||
GENAPIC_RESULT res;
|
GENAPIC_RESULT res;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user