projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove spaces and tabs at end of lines.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_dv
/
trgt_dv.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_dv/trgt_dv.cpp
b/synfig-core/trunk/src/modules/mod_dv/trgt_dv.cpp
index
ac565a1
..
13fed5c
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_dv/trgt_dv.cpp
+++ b/
synfig-core/trunk/src/modules/mod_dv/trgt_dv.cpp
@@
-152,7
+152,7
@@
dv_trgt::init()
#if defined(WIN32_PIPE_TO_PROCESSES)
string command;
#if defined(WIN32_PIPE_TO_PROCESSES)
string command;
-
+
if(wide_aspect)
command=strprintf("encodedv -w 1 - > \"%s\"\n",filename.c_str());
else
if(wide_aspect)
command=strprintf("encodedv -w 1 - > \"%s\"\n",filename.c_str());
else
@@
-170,19
+170,19
@@
dv_trgt::init()
#elif defined(UNIX_PIPE_TO_PROCESSES)
int p[2];
#elif defined(UNIX_PIPE_TO_PROCESSES)
int p[2];
-
+
if (pipe(p)) {
synfig::error(_("Unable to open pipe to encodedv"));
return false;
};
if (pipe(p)) {
synfig::error(_("Unable to open pipe to encodedv"));
return false;
};
-
+
pid_t pid = fork();
pid_t pid = fork();
-
+
if (pid == -1) {
synfig::error(_("Unable to open pipe to encodedv"));
return false;
}
if (pid == -1) {
synfig::error(_("Unable to open pipe to encodedv"));
return false;
}
-
+
if (pid == 0){
// Child process
// Close pipeout, not needed
if (pid == 0){
// Child process
// Close pipeout, not needed
@@
-209,7
+209,7
@@
dv_trgt::init()
synfig::error(_("Unable to open pipe to encodedv"));
return false;
}
synfig::error(_("Unable to open pipe to encodedv"));
return false;
}
-
+
if(wide_aspect)
execlp("encodedv", "encodedv", "-w", "1", "-", (const char *)NULL);
else
if(wide_aspect)
execlp("encodedv", "encodedv", "-w", "1", "-", (const char *)NULL);
else