Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
4f377c43
Commit
4f377c43
authored
Feb 06, 2020
by
Jean-Baptiste Mardelle
Browse files
Preview scaling: width can be a multiple of 2, not 8
parent
1352ed80
Pipeline
#14547
passed with stage
in 15 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
4f377c43
...
...
@@ -1826,8 +1826,8 @@ void GLWidget::updateScaling()
m_profileSize
=
profileSize
;
}
else
{
int
width
=
previewHeight
*
pCore
->
getCurrentDar
()
/
pCore
->
getCurrentSar
();
if
(
width
%
8
>
0
)
{
width
+
=
8
-
width
%
8
;
if
(
width
%
2
>
0
)
{
width
+
+
;
}
m_profileSize
=
QSize
(
width
,
previewHeight
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment