Added support to get a constant number of frames between faces
[cascardo/movie.git] / gdk.c
diff --git a/gdk.c b/gdk.c
index a6b6113..4c68e64 100644 (file)
--- a/gdk.c
+++ b/gdk.c
@@ -98,6 +98,7 @@ main (int argc, char **argv)
   else
     filename = argv[1];
   ctx.points = ReadPoints ("pro-gnu");
+  ctx.points = drop_dup_frames (ctx.points, 20);
   rescale_points (ctx.points);
   ctx.picture = gdk_pixbuf_new_from_file (filename, NULL);
   ctx.i = ctx.points->len;