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

index 52da50d..9ae601d 100644 (file)
@@ -826,8 +826,7 @@ AVFilter avfilter_vf_drawtext = {
                                           .end_frame        = end_frame,
                                           .config_props     = config_input,
                                           .min_perms        = AV_PERM_WRITE |
-                                                              AV_PERM_READ,
-                                          .rej_perms        = AV_PERM_PRESERVE },
+                                                              AV_PERM_READ },
                                         { .name = NULL}},
     .outputs   = (const AVFilterPad[]) {{ .name             = "default",
                                           .type             = AVMEDIA_TYPE_VIDEO, },