Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
f7c57919 by Pierre Lamot at 2022-01-10T12:36:31+00:00
qt: fix first task not scheduled when using named queue in MLThreadPool

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/mlthreadpool.cpp


Changes:

=====================================
modules/gui/qt/medialibrary/mlthreadpool.cpp
=====================================
@@ -74,6 +74,7 @@ void MLThreadPool::start(QRunnable* task, const char* queue)
         else
         {
             m_serialTasks[queue] = QQueue<QRunnable*>();
+            m_serialTasks[queue].push_back(task);
             auto serialTasks = new MLThreadPoolSerialTask(this, queue);
             serialTasks->setAutoDelete(false);
             m_threadpool.start(serialTasks);



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/f7c579199a60b9145f8bdb151bd3949ee59a69d4

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/f7c579199a60b9145f8bdb151bd3949ee59a69d4
You're receiving this email because of your account on code.videolan.org.


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to