Skip to content
Snippets Groups Projects
Commit 7756812d authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf
Browse files

qt: remove unused QThreadPool in MediaLib

parent 16d6631c
No related branches found
No related tags found
1 merge request!1023qt: run all medialibrary operations in a thread
......@@ -37,7 +37,6 @@ MediaLib::MediaLib(qt_intf_t *_intf, QObject *_parent)
this ) );
/* https://xkcd.com/221/ */
m_threadPool.setMaxThreadCount(4);
m_mlThreadPool.setMaxThreadCount(4);
}
......
......@@ -93,8 +93,6 @@ public:
vlc_ml_event_callback_t* registerEventListener(void (*callback)(void*, const vlc_ml_event_t*), void* data);
void unregisterEventListener(vlc_ml_event_callback_t*);
QThreadPool &threadPool() { return m_threadPool; }
/**
* this function allows to run lambdas on the ML thread,
* this should be used to perform operation that requires to call vlc_ml_xxx functions
......@@ -218,7 +216,6 @@ private:
vlc_medialibrary_t* m_ml;
std::unique_ptr<vlc_ml_event_callback_t, std::function<void(vlc_ml_event_callback_t*)>> m_event_cb;
QThreadPool m_threadPool;
MLThreadPool m_mlThreadPool;
/* run on ml thread properties */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment