Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2022-06-30 19:32:12 +0300
committerArun Raghavan <arun@arunraghavan.net>2022-06-30 20:10:13 +0300
commitd867ef9deebab36ccb0eaa43fb1b1582dd204021 (patch)
tree88313af867ab781f05d63c6a155e98fec60cd3c0 /video/videofx
parent8e90abfebb6881f6943dcc139c552423a9344c66 (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.rs2
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();
}
}