X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_ffmpeg%2Ftrgt_ffmpeg.cpp;h=e41d1a567c25577cfa48ae2d896ba5f493b3e7e4;hb=bd8367952ea2be0ab1e94922922409bf5f9a0be8;hp=5585878c9bb1406662f44f82a8963a0ca3ab5b3a;hpb=aaa0275b0e9c8a981a01dad6d841c40e7d8d77c2;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp b/synfig-core/trunk/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp index 5585878..e41d1a5 100644 --- a/synfig-core/trunk/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp +++ b/synfig-core/trunk/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp @@ -128,7 +128,7 @@ ffmpeg_trgt::init() command=strprintf("ffmpeg -f image2pipe -vcodec ppm -an -r %f -i pipe: -loop -hq -title \"%s\" -vcodec mpeg1video -y \"%s\"\n",desc.get_frame_rate(),get_canvas()->get_name().c_str(),filename.c_str()); - file=popen(command.c_str(),"wb"); + file=popen(command.c_str(),POPEN_BINARY_WRITE_TYPE); // etl::yield();