[Kde-imaging] kdeextragear-libs-1/kipi-plugins/mpegencoder

Jesper Pedersen blackie at blackie.dk
Wed May 5 23:45:06 CEST 2004


CVS commit by blackie: 

strip file: of before calling encoder, someone please check if this now works 
I dont seem to have right tools installed.
Cheers
Jesper
CCMAIL: kde-imaging at kde.org


  M +5 -0      kimg2mpg.cpp   1.4


--- kdeextragear-libs-1/kipi-plugins/mpegencoder/kimg2mpg.cpp  #1.3:1.4
@@ -1254,4 +1254,9 @@ void KImg2mpgData::addItems(const QStrin
       {
       QString currentFile = *it;
+      // PENDING(blackie) Fix this, when  this plugin handles real URLs.
+      if ( currentFile.startsWith( "file:" ) )
+          currentFile = currentFile.mid( 5 ); // remove file://
+
+
       QFileInfo fi(currentFile);
       QString Temp = fi.dirPath();




More information about the Kde-imaging mailing list