mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
roundedcorners: Logging improvement
Cache the new border radius only after logging it, otherwise the same value appears as old and new.
This commit is contained in:
parent
8e90abfebb
commit
d867ef9dee
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue