On Sat, Apr 11, 2015 at 8:00 AM, jb <j...@kdenlive.org> wrote:

> 1) For me, Shotcut crashes at startup with a reference to
> QOpenGLContext::shareGroup() in the backtrace, as described in several
> issues
> reported, like: https://github.com/mltframework/shotcut/issues/59
>
> I could fix the crash with the following patch, don't know what you think
> of
> it ?
>
> diff --git a/src/glwidget.cpp b/src/glwidget.cpp
> index d29cd4b..2160f54 100644
> --- a/src/glwidget.cpp
> +++ b/src/glwidget.cpp
> @@ -128,7 +128,7 @@ void GLWidget::initializeGL()
>
>      openglContext()->doneCurrent();
>      m_frameRenderer = new FrameRenderer(openglContext());
> -    openglContext()->makeCurrent(openglContext()->surface());
> +    openglContext()->makeCurrent(this);
>
>      connect(m_frameRenderer, SIGNAL(frameDisplayed(const SharedFrame&)),
> this, SIGNAL(frameDisplayed(const SharedFrame&)), Qt::QueuedConnection);
>      connect(m_frameRenderer, SIGNAL(textureReady(GLuint,GLuint,GLuint)),
> SLOT(updateTexture(GLuint,GLuint,GLuint)), Qt::DirectConnection);
>

Thanks for the help, JB!

It seems like these two are effectively the same, which is why I am not
concerned much about making the change. I tested it on Linux and OS X, and
it worked for me; so I pushed this change.

-- 
+-DRD-+
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to