diff options
author | Philippe Normand <philn@igalia.com> | 2022-06-30 19:32:12 +0300 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2022-06-30 20:10:13 +0300 |
commit | d867ef9deebab36ccb0eaa43fb1b1582dd204021 (patch) | |
tree | 88313af867ab781f05d63c6a155e98fec60cd3c0 /video/videofx | |
parent | 8e90abfebb6881f6943dcc139c552423a9344c66 (diff) |
roundedcorners: Logging improvement
Cache the new border radius only after logging it, otherwise the same value
appears as old and new.
Diffstat (limited to 'video/videofx')
-rw-r--r-- | video/videofx/src/border/roundedcorners.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/videofx/src/border/roundedcorners.rs b/video/videofx/src/border/roundedcorners.rs index e4999be76..d856a1881 100644 --- a/video/videofx/src/border/roundedcorners.rs +++ b/video/videofx/src/border/roundedcorners.rs @@ -305,7 +305,6 @@ impl ObjectImpl for RoundedCorners { let border_radius = value.get().expect("type checked upstream"); if settings.border_radius_px != border_radius { settings.changed = true; - settings.border_radius_px = border_radius; gst::info!( CAT, obj: obj, @@ -313,6 +312,7 @@ impl ObjectImpl for RoundedCorners { settings.border_radius_px, border_radius ); + settings.border_radius_px = border_radius; obj.reconfigure_src(); } } |