Skip to content

rsvgdec: Negotiate resolution with downstream and scale accordingly, and add various new properties

commit eaa55f365a20891e68af86bd27a06cc94a0998a3 (HEAD -> rsvgdec-negotiate-with-downstream, gitlab-slomo/rsvgdec-negotiate-with-downstream)
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Fri Mar 19 18:33:09 2021 +0200

    rsvgdec: Remove unused GObject::finalize implementation

commit ee2c8a0d1c5ce330a0b3d5ea3f56e765b5351d7b
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Fri Mar 19 18:31:06 2021 +0200

    rsvgdec: Add properties for deciding the fit mode, viewport and dpi
    
    Possible values for the fit mode are
     - "scale": Scale to fit the output size but keep the aspect ratio,
       filling the remainder with transparent black.
     - "scale-no-aspect": Scale to fit the output size and do not keep the
       aspect ratio.
     - "crop": Crop the image or extend with black.

commit 97076f3c89f506cf6431f68a49d20dd97b48c6d5
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu Mar 11 20:18:24 2021 +0200

    rsvgdec: Negotiate resolution with downstream and scale accordingly
    
    Prefer the resolution given by the input but if downstream request a
    specific resolution then scale to this without regards to the aspect
    ratio.
    
    Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1538

Merge request reports