Fix error matching the stream handler based on extension
This commit is contained in:
@@ -116,10 +116,10 @@ CreateStreamHandlerFn PlaYUVerStream::findStreamHandler( String strFilename, boo
|
||||
{
|
||||
return supportedFmts[i].formatFct;
|
||||
}
|
||||
else if( strFilename.find( supportedFmts[i].formatExt ) != String::npos )
|
||||
{
|
||||
return supportedFmts[i].formatFct;
|
||||
}
|
||||
// else if( strFilename.find( supportedFmts[i].formatExt ) != String::npos )
|
||||
// {
|
||||
// return supportedFmts[i].formatFct;
|
||||
// }
|
||||
}
|
||||
return &StreamHandlerRaw::Create;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user