[vlc-devel] [vlc-commits] vout: start before creating the thread
Pierre Lamot
pierre at videolabs.io
Thu Jan 31 17:26:07 CET 2019
On jeudi 31 janvier 2019 17:14:55 CET Rémi Denis-Courmont wrote:
> Le torstaina 31. tammikuuta 2019, 17.26.54 EET Steve Lhomme a écrit :
> > On 31/01/2019 13:58, Rémi Denis-Courmont wrote:
> > > Hi,
> > >
> > > That's a ridiculous argument. VLC plugins have always been such that
> > > they would br run on any thread but not be re-entered. And that's a
> > > consequence of VLC always being multi-thread-based rather event-based.
> > > If you want an event based media framework, you have the wrong project.
> > >
> > > Not to mention that the GL provider and GL surface abstractions were
> > > specifically designed to support multi-threading, unlike their
> > > predecessors. Or that I need the changes to fix outstanding issues
> > > assigned to me.
> >
> > In the case of Qt it requires all OpenGL calls done with its context to
> > be done in the same thread,
>
> Qt requires all graphic calls done on the main thread
Actually QOpenGLContext expect calls to be made on the same thread, not necessary the main/UI thread
http://doc.qt.io/qt-5/qopenglcontext.html#makeCurrent
--
Pierre Lamot
More information about the vlc-devel
mailing list