Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
fa803540
Commit
fa803540
authored
Sep 23, 2015
by
Hugo Beauzée-Luyssen
Browse files
Parser: Fix metadata services ordering
parent
0af7d3e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Parser.cpp
View file @
fa803540
...
...
@@ -27,7 +27,7 @@ void Parser::addService(std::unique_ptr<IMetadataService> service)
std
::
push_heap
(
m_services
.
begin
(),
m_services
.
end
(),
[](
const
ServicePtr
&
a
,
const
ServicePtr
&
b
)
{
// We want higher priority first
return
a
->
priority
()
>
b
->
priority
();
return
a
->
priority
()
<
b
->
priority
();
});
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment