Commit 1198930f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MetadataParser: Log when a media has no detected tracks

parent f977f507
......@@ -177,7 +177,10 @@ Status MetadataAnalyzer::run( IItem& item )
const auto& tracks = item.tracks();
if ( tracks.empty() == true )
{
LOG_WARN( "Failed to analyze ", item.mrl(), ": no tracks found" );
return Status::Fatal;
}
bool isAudio = true;
{
......
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