vf_deshake: fix permissions.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 14 Aug 2012 16:42:12 +0000 (18:42 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Fri, 17 Aug 2012 16:26:40 +0000 (18:26 +0200)
libavfilter/vf_deshake.c

index d03671c..ac0a013 100644 (file)
@@ -553,7 +553,7 @@ AVFilter avfilter_vf_deshake = {
                                     .draw_slice       = draw_slice,
                                     .end_frame        = end_frame,
                                     .config_props     = config_props,
-                                    .min_perms        = AV_PERM_READ, },
+                                    .min_perms        = AV_PERM_READ | AV_PERM_PRESERVE, },
                                   { .name = NULL}},
 
     .outputs   = (const AVFilterPad[]) {{ .name       = "default",