Dear all,
We are developing a display application using GStreamer and i.MX8MP.
Currently we are trying to understand how positioning parameters work using imxcompositor_g2d in combination with waylandsink.
Here is the pipeline example we've tried using GStreamer's CLI:
gst-launch-1.0 imxcompositor_g2d name=comp sink_0::width=100 sink_0::height=100 sink_0::xpos=50 sink_0::ypos=50 ! waylandsink window-height=1024 window-width=600 videotestsrc ! comp.sink_0
The command runs, but the behavior is not as one would expect.
Here I will post a picture of some examples with different combinations of xpos and ypos parameters, and their results:
Note: screen size is 1024x600

As you can see, the stream is ignoring the sink_0::width=100 sink_0::height=100 parameters, but more importantly the positioning doesn't seem to make sense.
Does anyone have any advice on why this might be happening or how to fix it?
Thank you.
Best regards,
Robert.