Commit e7739c4c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

metadata services: vlc: Remove unused lambda captures

parent 1a921333
...@@ -75,7 +75,7 @@ Status VLCMetadataService::run( IItem& item ) ...@@ -75,7 +75,7 @@ Status VLCMetadataService::run( IItem& item )
if ( vlcMedia.parseWithOptions( VLC::Media::ParseFlags::Local | VLC::Media::ParseFlags::Network | if ( vlcMedia.parseWithOptions( VLC::Media::ParseFlags::Local | VLC::Media::ParseFlags::Network |
VLC::Media::ParseFlags::FetchLocal, 5000 ) == false ) VLC::Media::ParseFlags::FetchLocal, 5000 ) == false )
return Status::Fatal; return Status::Fatal;
m_cond.wait( lock, [&status, &done]() { m_cond.wait( lock, [&done]() {
return done == true; return done == true;
}); });
} }
......
...@@ -246,7 +246,7 @@ void VLCThumbnailer::setupVout( Task& task ) ...@@ -246,7 +246,7 @@ void VLCThumbnailer::setupVout( Task& task )
nullptr, nullptr,
//display //display
[this, &task](void*) { [&task](void*) {
bool expected = true; bool expected = true;
if ( task.thumbnailRequired.compare_exchange_strong( expected, false ) ) if ( task.thumbnailRequired.compare_exchange_strong( expected, false ) )
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment