Commit e2c4691e authored by Erwan Tulou's avatar Erwan Tulou

skins2: remove a fallback when choosing a video control

This fallback was an attempt to recover when a skin is poorly designed,
but it causes problems under some circumstances. So let's remove it !

(cherry picked from commit 1d2608d4aa0aa9fe30b9fde5a825f14a9941347c)
Signed-off-by: default avatarErwan Tulou <erwan10@videolan.org>
parent 25028749
...@@ -182,15 +182,6 @@ CtrlVideo* VoutManager::getBestCtrlVideo( ) ...@@ -182,15 +182,6 @@ CtrlVideo* VoutManager::getBestCtrlVideo( )
} }
} }
// as a fallback, look up any video control that is unused
for( it = m_pCtrlVideoVec.begin(); it != m_pCtrlVideoVec.end(); ++it )
{
if( !(*it)->isUsed() )
{
return (*it);
}
}
return NULL; return NULL;
} }
......
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