pylonsrc: added custom grab-timeout parameter instead of hardcoded 1s wait.

Useful when trying to understand bandwith related issues on the Basler cameras.
This commit is contained in:
Eskild Helmersen
2020-05-14 17:44:45 +02:00
committed by joshdoe
parent 88bc6062b3
commit 314581b002
2 changed files with 20 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ enum
GST_PYLONSRC_NUM_CAPTURE_BUFFERS = 10,
GST_PYLONSRC_NUM_AUTO_FEATURES = 3,
GST_PYLONSRC_NUM_LIMITED_FEATURES = 2,
GST_PYLONSRC_NUM_PROPS = 68
GST_PYLONSRC_NUM_PROPS = 69
};
typedef enum _GST_PYLONSRC_PROPERTY_STATE
@@ -100,7 +100,7 @@ struct _GstPylonSrc
GstPylonSrcLimitedFeature limitedFeature[GST_PYLONSRC_NUM_LIMITED_FEATURES];
gint maxBandwidth, testImage, frameDropLimit;
gint maxBandwidth, testImage, frameDropLimit, grabtimeout;
gint size[2];
gint binning[2];
gint maxSize[2];