Skip to content
Snippets Groups Projects
Commit 1d2608d4 authored by Erwan Tulou's avatar Erwan Tulou
Browse files

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 !
parent ffcf411c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment