Elements downstream of the videoscale element has the Pylon metadata as NULL.
To Reproduce
Set up an example pipeline with a videoscale element. Two identity elements are used to print the GstPylonMeta data. An example script is pasted below:
Both handoff signal callbacks should print the Pylon metadata.
Instead, in the callback for the identity1 element (which is connected to the videoscale element), the Pylon metadata is NULL.
I'm not sure if this is relevant, but in the videoscale code on GitHub, the gst_video_scale_transform_meta function does a check to see if the metadata has the tags {GST_META_TAG_VIDEO_STR,GST_META_TAG_VIDEO_COLORSPACE_STR,...,}. Meanwhile in the gstpylonmeta.cpp file, the tag GST_META_TAG_VIDEO_STR is assigned to the the Pylon metadata.
Describe the bug
Elements downstream of the
videoscale
element has the Pylon metadata asNULL
.To Reproduce Set up an example pipeline with a
videoscale
element. Twoidentity
elements are used to print theGstPylonMeta
data. An example script is pasted below:Expected behavior
Both
handoff
signal callbacks should print the Pylon metadata.Instead, in the callback for the
identity1
element (which is connected to thevideoscale
element), the Pylon metadata is NULL.I'm not sure if this is relevant, but in the
videoscale
code on GitHub, thegst_video_scale_transform_meta
function does a check to see if the metadata has the tags{GST_META_TAG_VIDEO_STR,GST_META_TAG_VIDEO_COLORSPACE_STR,...,}
. Meanwhile in thegstpylonmeta.cpp
file, the tagGST_META_TAG_VIDEO_STR
is assigned to the the Pylon metadata.Environment
gst-inspect-1.0 pylonsrc | grep -E "Descr.*pylon.*|\s+Version\s+[0-9]+"
:1.0.0-4-ga5757be