Update mod_ffmpeg for modern ffmpeg. Thanks to Luka Pravica for the diagnosis.
[synfig.git] / synfig-core / trunk / src / modules / mod_ffmpeg / mptr_ffmpeg.cpp
index 023d8f8..3fa4076 100644 (file)
@@ -65,7 +65,7 @@ ffmpeg_mptr::seek_to(int frame)
 
                string command;
        
-               command=strprintf("ffmpeg -i \"%s\" -an -f ppmpipe -\n",filename.c_str());
+               command=strprintf("ffmpeg -i \"%s\" -an -f image2pipe -vcodec ppm -\n",filename.c_str());
        
                file=popen(command.c_str(),"r");