Add support for device opening
This commit is contained in:
@@ -120,11 +120,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