How to implement property which can take two dimentional array

Antonio Ospite ao2 at ao2.it
Tue Jul 18 10:07:52 UTC 2017


On Thu, 25 Jun 2015 19:11:55 +0530
Yogesh Tyagi <yogesh.bit2006 at gmail.com> wrote:

> Hi,
> 
> Can somebody provide me some pointers to implement a property in gstreamer
> plugin which can take two dimensional array from user. User is going to
> provide around 8 values at a time using this property to plugin.
>

When you say "two dimensional array" you mean _one_ two-dimensional
(adjective) array? A matrix?

Some elements pass matrices as flat arrays, and document the elements
order in the help text, see what the perspective plugin does:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst/geometrictransform/gstperspective.c#n227

Ciao,
   Antonio

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


More information about the gstreamer-devel mailing list