Revision: 2153
http://synfig.svn.sourceforge.net/synfig/?rev=2153&view=rev
Author: pabs3
Date: 2008-11-05 09:38:43 +0000 (Wed, 05 Nov 2008)
Log Message:
-----------
When we cannot launch ffmpeg in the ffmpeg importer, kill the child process.
Modified Paths:
--------------
synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp
Modified: synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp
===================================================================
--- synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp 2008-11-05
09:38:18 UTC (rev 2152)
+++ synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp 2008-11-05
09:38:43 UTC (rev 2153)
@@ -136,7 +136,7 @@
execlp("ffmpeg", "ffmpeg", "-i", filename.c_str(),
"-an", "-f", "image2pipe", "-vcodec", "ppm", "-", (const char *)NULL);
// We should never reach here unless the exec failed
cerr<<"Unable to open pipe to ffmpeg"<<endl;
- return false;
+ _exit(1);
} else {
// Parent process
// Close pipeout, not needed
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl