diff --git a/extratorSRT/src/extratorSRT.cpp b/extratorSRT/src/extratorSRT.cpp index 57672ea..0040fca 100644 --- a/extratorSRT/src/extratorSRT.cpp +++ b/extratorSRT/src/extratorSRT.cpp @@ -47,7 +47,10 @@ void ExtratorSRT::notifyEndExtraction(int sub_size) { } void ExtratorSRT::setFilePath(char* path){ - filepath = (char*) path; + filepath = (char*) path; + string command = "perl -p -e \'s/\n/ /\' "; + command.append(filepath); + system(command.c_str()); } bool ExtratorSRT::isFinished(){ -- libgit2 0.21.2