Skip to content

Commit 4d70616

Browse files
committed
clang-format fixes
1 parent 3626c6f commit 4d70616

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/modules/qt/filter_qtblend.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,11 @@ static int filter_get_image(mlt_frame frame,
221221
if (rect.w != b_width || rect.h != b_height) {
222222
if (downscale) {
223223
scaled = true;
224-
scaledSource = sourceImage.scaled(rect.w, rect.h, Qt::IgnoreAspectRatio, hqPainting ? Qt::SmoothTransformation : Qt::FastTransformation);
224+
scaledSource = sourceImage.scaled(rect.w,
225+
rect.h,
226+
Qt::IgnoreAspectRatio,
227+
hqPainting ? Qt::SmoothTransformation
228+
: Qt::FastTransformation);
225229
} else {
226230
transform.scale(rect.w / b_width, rect.h / b_height);
227231
}
@@ -239,7 +243,10 @@ static int filter_get_image(mlt_frame frame,
239243
if (scale != 1.) {
240244
if (downscale) {
241245
scaled = true;
242-
scaledSource = sourceImage.scaled(sourceImage.size() * scale, Qt::IgnoreAspectRatio, hqPainting ? Qt::SmoothTransformation : Qt::FastTransformation);
246+
scaledSource = sourceImage.scaled(sourceImage.size() * scale,
247+
Qt::IgnoreAspectRatio,
248+
hqPainting ? Qt::SmoothTransformation
249+
: Qt::FastTransformation);
243250
} else {
244251
transform.scale(scale, scale);
245252
}

0 commit comments

Comments
 (0)