Skip to content

Commit 342ae48

Browse files
committed
clang-format fixes
1 parent f4459dc commit 342ae48

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/modules/qt/filter_qtblend.cpp‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ static int filter_get_image(mlt_frame frame,
167167
double angle = mlt_properties_anim_get_double(properties, "rotation", position, length);
168168
if (angle != 0.0) {
169169
if (mlt_properties_get(properties, "rotate_anchor")) {
170-
mlt_rect anchor = mlt_properties_anim_get_rect(properties, "rotate_anchor", position, length);
170+
mlt_rect anchor
171+
= mlt_properties_anim_get_rect(properties, "rotate_anchor", position, length);
171172
// Use custom anchor point (x,y are normalized 0-1 coordinates) where 0, 0 is top left and 1, 1 is bottom right
172173
// negative values are allowed so its possible to rotate around a point outside the rectangle
173174
double anchor_x = anchor.x * rect.w;
@@ -278,7 +279,7 @@ mlt_filter filter_qtblend_init(mlt_profile profile, mlt_service_type type, const
278279
filter->process = filter_process;
279280
mlt_properties properties = MLT_FILTER_PROPERTIES(filter);
280281
mlt_properties_set_int(properties, "rotate_center", 0);
281-
282+
282283
// Initialize rotate_anchor property with center position (0.5, 0.5)
283284
mlt_rect default_anchor = {0.5, 0.5, 0.0, 0.0, 0.0};
284285
mlt_properties_set_rect(properties, "rotate_anchor", default_anchor);

0 commit comments

Comments
 (0)