Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
7756812d
Commit
7756812d
authored
3 years ago
by
Pierre Lamot
Committed by
Jean-Baptiste Kempf
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
qt: remove unused QThreadPool in MediaLib
parent
16d6631c
No related branches found
Branches containing commit
No related tags found
1 merge request
!1023
qt: run all medialibrary operations in a thread
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/gui/qt/medialibrary/medialib.cpp
+0
-1
0 additions, 1 deletion
modules/gui/qt/medialibrary/medialib.cpp
modules/gui/qt/medialibrary/medialib.hpp
+0
-3
0 additions, 3 deletions
modules/gui/qt/medialibrary/medialib.hpp
with
0 additions
and
4 deletions
modules/gui/qt/medialibrary/medialib.cpp
+
0
−
1
View file @
7756812d
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
modules/gui/qt/medialibrary/medialib.hpp
+
0
−
3
View file @
7756812d
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment