Remove dependencies to Qt libs from PlaYUVStream. Only save frame depends on QString and QImage
This commit is contained in:
1 parent
60bc2953ed
commit
e751c5469e
8 files changed
+106
-139
No files matched your search
@@ -452,22 +452,23 @@ Void ModulesHandle::applyAllModuleIf( PlaYUVerAppModuleIf *pcCurrModuleIf )
|
||||
|
||||
QString supported = tr( "Supported Files (" );
|
||||
QStringList formatsList;
|
||||
QStringList formatsExt = PlaYUVerStream::supportedWriteFormatsExt();
|
||||
QStringList formatsName = PlaYUVerStream::supportedWriteFormatsName();
|
||||
std::vector<std::string> formatsExt = PlaYUVerStream::supportedWriteFormatsExt();
|
||||
std::vector<std::string> formatsName = PlaYUVerStream::supportedWriteFormatsName();
|
||||
|
||||
for( Int i = 0; i < formatsName.size(); i++ )
|
||||
for( UInt i = 0; i < formatsName.size(); i++ )
|
||||
{
|
||||
QString currFmt;
|
||||
supported.append( " *." );
|
||||
supported.append( formatsExt[i] );
|
||||
currFmt.append( formatsName[i] );
|
||||
supported.append( QString::fromStdString( formatsExt[i] ) );
|
||||
currFmt.append( QString::fromStdString( formatsName[i] ) );
|
||||
currFmt.append( " (*." );
|
||||
currFmt.append( formatsExt[i] );
|
||||
currFmt.append( QString::fromStdString( formatsExt[i] ) );
|
||||
currFmt.append( ")" );
|
||||
formatsList << currFmt;
|
||||
}
|
||||
supported.append( " )" );
|
||||
|
||||
|
||||
QStringList filter;
|
||||
filter << supported
|
||||
<< formatsList
|
||||
|
||||
Reference in new issue
Block a user