Skip to content

Commit

Permalink
Rearranged path building.
Browse files Browse the repository at this point in the history
Added HDR_MOV.command script for viewing purposes
  • Loading branch information
dannephoto committed Apr 25, 2018
1 parent bf5e40c commit 83bbb1a
Show file tree
Hide file tree
Showing 2 changed files with 814 additions and 17 deletions.
33 changes: 16 additions & 17 deletions platform/qt/MainWindow.cpp
Expand Up @@ -1179,6 +1179,22 @@ void MainWindow::startExportPipe(QString fileName)
QString program = QCoreApplication::applicationDirPath();
program.append( QString( "/ffmpeg\"" ) );
program.prepend( QString( "\"" ) );

//path to output folder
QString path = QFileInfo( m_exportQueue.first()->exportFileName() ).absolutePath();
QString filename = "/tmp/Data.txt";
QFile file1(filename);
file1.open(QIODevice::WriteOnly);
file1.write(path.toUtf8());
file1.close();

//path to MacOS folder(applications
QString filename2 = "/tmp/Data2.txt";
QFile file2(filename2);
file2.open(QIODevice::WriteOnly);
file2.write(program.toUtf8());
file2.close();

#endif

#ifdef STDOUT_SILENT
Expand Down Expand Up @@ -1822,23 +1838,6 @@ void MainWindow::startExportAVFoundation(QString fileName)
QFile( wavFileName ).remove();
}

//path to output folder
QString path = QFileInfo( m_exportQueue.first()->exportFileName() ).absolutePath();
QString filename = "/tmp/Data.txt";
QFile file1(filename);
file1.open(QIODevice::WriteOnly);
file1.write(path.toUtf8());
file1.close();

//path to MacOS folder(applications
QString program = QCoreApplication::applicationDirPath();
QString filename2 = "/tmp/Data2.txt";
QFile file2(filename2);
file2.open(QIODevice::WriteOnly);
file2.write(program.toUtf8());
file2.close();


//If we don't like amaze we switch it off again
if( !ui->actionAlwaysUseAMaZE->isChecked() ) setMlvDontAlwaysUseAmaze( m_pMlvObject );

Expand Down

0 comments on commit 83bbb1a

Please sign in to comment.