Skip to content
GitLab
Menu
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
20783fde
Commit
20783fde
authored
Mar 21, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix startup crash with preview scaling enabled
parent
749d5e59
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
20783fde
...
...
@@ -672,8 +672,10 @@ void GLWidget::refresh()
{
m_refreshTimer
.
stop
();
QMutexLocker
locker
(
&
m_mltMutex
);
restartConsumer
();
m_consumer
->
set
(
"refresh"
,
1
);
if
(
m_consumer
)
{
restartConsumer
();
m_consumer
->
set
(
"refresh"
,
1
);
}
}
bool
GLWidget
::
checkFrameNumber
(
int
pos
,
int
offset
,
bool
isPlaying
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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