mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-07-12 08:06:56 -07:00
Move Frame Uploader to Thread
This commit is contained in:
parent
3358759aab
commit
679af22f6d
4 changed files with 37 additions and 7 deletions
|
@ -52,7 +52,9 @@ class AVOpenGLWidget: public QOpenGLWidget
|
|||
AVOpenGLFrame frames[2];
|
||||
int frame_fg;
|
||||
QMutex frames_mutex;
|
||||
QOpenGLContext *frame_uploader_context;
|
||||
AVOpenGLFrameUploader *frame_uploader;
|
||||
QThread *frame_uploader_thread;
|
||||
|
||||
public:
|
||||
explicit AVOpenGLWidget(VideoDecoder *decoder, QWidget *parent = nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue