Increase support for opencv

Add support for read and write streams
Include device support
This commit is contained in:
jfmcarreira committed 2016-04-29 01:39:38 +01:00
1 parent 85d93780b6
commit f3590dff48
8 files changed
+123 -36

No files matched your search

+5
View File
@@ -436,6 +436,11 @@ Bool VideoSubWindow::guessFormat( QString filename, UInt& rWidth, UInt& rHeight,
Bool bGuessedByFilesize = false;
QString FilenameShort = QFileInfo( filename ).fileName();
QString fileExtension = QFileInfo( filename ).suffix();
if( filename.startsWith( "/dev/" ) )
{
return false;
}
if( !fileExtension.compare( "yuv" ) )
{
bGuessed = false;