mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
qmlgl6src: Fix crash when use-default-fbo is false
When that property is set to its default qmlgl6src element simply crash as it will call gst_video_frame_unmap() twice. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7290>
This commit is contained in:
parent
9cc363311d
commit
c9df0a5799
1 changed files with 0 additions and 1 deletions
|
@ -224,7 +224,6 @@ Qt6GLWindow::afterRendering()
|
|||
fbo_target = gl->BlitFramebuffer ? GL_READ_FRAMEBUFFER : GL_FRAMEBUFFER;
|
||||
|
||||
if (!this->priv->useDefaultFbo) {
|
||||
gst_video_frame_unmap (&this->priv->mapped_frame);
|
||||
ret = TRUE;
|
||||
} else {
|
||||
|
||||
|
|
Loading…
Reference in a new issue