vacompositor: want "sizing-policy" property on sink pads to keep aspect ratio like compositor
Hi,
Gst-element compositor supports sink pad property sink_0::sizing-policy to keep aspect ratio.
Compositor-sizing-policy keep-aspect-ratio (1) – Keep Aspect Ratio: Image is scaled to fit destination rectangle specified by GstCompositorPad:{xpos, ypos, width, height} with preserved aspect ratio. Resulting image will be centered in the destination rectangle with padding if necessary.
However, vacompositor have no such property.
Do you have plan to support this property? Without keep aspect ratio, the object is stretched. If we take this output as a intput of AI inference, the inference accuracy decreased.
WARNING: from element /GstPipeline:pipeline0/GstVaCompositor:comp: No such property. Additional debug info: subprojects/gstreamer/gst/parse/grammar.y(437): gst_parse_new_child (): /GstPipeline:pipeline0/GstVaCompositor:comp: no property "sink_0::sizing-policy" in element "comp"
Thanks!
BR, Xigui(Tom)