]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To use an input file name (not to generate it)
authorapo <apo@opencascade.com>
Mon, 12 Dec 2005 13:18:08 +0000 (13:18 +0000)
committerapo <apo@opencascade.com>
Mon, 12 Dec 2005 13:18:08 +0000 (13:18 +0000)
src/VVTK/VVTK_Recorder.cxx

index f4aab20a11c55171d8bd89259c72ba1866aba883..e9c734e9c37baa683752a997c259b11821d44230 100755 (executable)
@@ -442,7 +442,7 @@ VVTK_Recorder
     " -n "<<myNbWrittenFrames<<" "<<\r
     " -j "<<myName<<"_\%06d.jpeg "<<\r
     "| yuv2lav"<<\r
-    " -o "<<myName<<".avi";\r
+    " -o "<<myName;\r
    \r
   std::string aString(aStream.str());\r
   myErrorStatus = system(aString.c_str());\r
@@ -451,7 +451,7 @@ VVTK_Recorder
 \r
   QFileInfo aFileInfo(myName);\r
   QString aDirPath = aFileInfo.dirPath(TRUE);\r
-  QString aBaseName = aFileInfo.baseName(TRUE);\r
+  QString aBaseName = aFileInfo.fileName();\r
   QString aCommand = \r
     QString("(cd ") + aDirPath + \r
     "; ls " +\r