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
11e5be5e
Commit
11e5be5e
authored
Mar 30, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix unconfigured consumer causing various crashes.
CCBUG: 409667
parent
e0cd0a02
Pipeline
#55989
passed with stage
in 10 minutes and 51 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
11e5be5e
...
...
@@ -216,6 +216,7 @@ void GLWidget::initializeGL()
connect
(
m_frameRenderer
,
&
FrameRenderer
::
frameDisplayed
,
this
,
&
GLWidget
::
frameDisplayed
,
Qt
::
QueuedConnection
);
m_initSem
.
release
();
m_isInitialized
=
true
;
QMetaObject
::
invokeMethod
(
this
,
"reconfigure"
,
Qt
::
QueuedConnection
);
}
void
GLWidget
::
resizeGL
(
int
width
,
int
height
)
...
...
src/monitor/glwidget.h
View file @
11e5be5e
...
...
@@ -86,7 +86,6 @@ public:
// TODO: currently unused
int
reconfigureMulti
(
const
QString
&
params
,
const
QString
&
path
,
Mlt
::
Profile
*
profile
);
void
stopCapture
();
int
reconfigure
();
/** @brief Get the current MLT producer playlist.
* @return A string describing the playlist */
const
QString
sceneList
(
const
QString
&
root
,
const
QString
&
fullPath
=
QString
(),
QString
filterData
=
QString
());
...
...
@@ -253,6 +252,7 @@ private slots:
void
updateTexture
(
GLuint
yName
,
GLuint
uName
,
GLuint
vName
);
void
paintGL
();
void
onFrameDisplayed
(
const
SharedFrame
&
frame
);
int
reconfigure
();
void
refresh
();
protected:
...
...
Write
Preview
Markdown
is supported
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