<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 5 avr. 2023, 17 h 32, Chad Hanna <<a href="mailto:crh184@psu.edu">crh184@psu.edu</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Thanks, Nicolas.<div dir="auto"><br></div><div dir="auto">Fwiw, it was first reported in gstreamer and suggested to report to pygobject, see here</div><div dir="auto"><br></div><div dir="auto"><a href="https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/50" target="_blank" rel="noreferrer">https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/50</a></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">We have a monorepo now, so this is likely lost.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Your example is helpful but I am not sure that it actually addresses all of the cases that previously worked, unfortunately. Our workaround is much more extensive at this point than just adding a .to list() for every case with array like properties and it used to be much easier. I will follow up when I can, but it sounds like there is no intention to restore the previous behavior? That is useful for our planning.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Then play the card of API break with pygobject folks, we made no recent changes on our side in this regard. I noticed that ValueArray constructor in glib now ignore the args, if it didn't do that before, it's an API break. ValueArray is such a mess, but we are stuck with it in some part of GStreamer.</div><div dir="auto"><br></div><div dir="auto">An alternative is to add overrides to explicitly support the numpy arrays in gst-python, patches welcome (against GStreamer/ repo these days).</div><div dir="auto"><br></div><div dir="auto">Nicolas</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto"><br></div><div dir="auto">Chad </div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 5, 2023, 2:51 PM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank" rel="noreferrer">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le lundi 03 avril 2023 à 22:03 -0400, Chad Hanna via gstreamer-devel a écrit :<br>
> Hi all<br>
> <br>
> Has anyone else run into this problem and do you have any advice?<br>
> <br>
> <a href="https://gitlab.gnome.org/GNOME/pygobject/-/issues/488" rel="noreferrer noreferrer noreferrer" target="_blank">https://gitlab.gnome.org/GNOME/pygobject/-/issues/488</a><br>
<br>
Replied on the issue, please come here first next time, this is a support<br>
request, not a bug report. Here's what you are looking for:<br>
<br>
elem.props.kernel = numpy.array([1.3, 2.6, 3.9]).tolist()<br>
<br>
Nicolas<br>
</blockquote></div>
</blockquote></div></div></div>