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
87053733
Commit
87053733
authored
Jan 17, 2020
by
Jean-Baptiste Mardelle
Browse files
Make preview height multiple of 2, not 8 so we don't affect aspect ratio too much.
parent
cc31207f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core.cpp
View file @
87053733
...
...
@@ -354,9 +354,7 @@ void Core::updatePreviewProfile()
if
(
newWidth
%
8
>
0
)
{
newWidth
+=
8
-
newWidth
%
8
;
}
if
(
newHeight
%
8
>
0
)
{
newHeight
+=
8
-
newHeight
%
8
;
}
newHeight
+=
newHeight
%
2
;
m_previewProfile
->
set_colorspace
(
getCurrentProfile
()
->
colorspace
());
m_previewProfile
->
set_frame_rate
(
getCurrentProfile
()
->
frame_rate_num
(),
getCurrentProfile
()
->
frame_rate_den
());
m_previewProfile
->
set_width
(
newWidth
);
...
...
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