]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/sink_buffer.c
lavfi: rename vf_setpts.c to f_setpts.c
[ffmpeg] / libavfilter / sink_buffer.c
index f7b16db50a3ec1f9c45d4816d98c14fccd5a91ed..95ba590d4ae846bc39e25ac5683c78c41e9eb1a2 100644 (file)
@@ -230,7 +230,7 @@ AVFilter avfilter_vsink_buffersink = {
     .inputs    = (const AVFilterPad[]) {{ .name    = "default",
                                     .type          = AVMEDIA_TYPE_VIDEO,
                                     .end_frame     = end_frame,
-                                    .min_perms     = AV_PERM_READ, },
+                                    .min_perms     = AV_PERM_READ | AV_PERM_PRESERVE, },
                                   { .name = NULL }},
     .outputs   = (const AVFilterPad[]) {{ .name = NULL }},
 };
@@ -310,7 +310,7 @@ AVFilter avfilter_asink_abuffersink = {
     .inputs    = (const AVFilterPad[]) {{ .name     = "default",
                                     .type           = AVMEDIA_TYPE_AUDIO,
                                     .filter_samples = filter_samples,
-                                    .min_perms      = AV_PERM_READ, },
+                                    .min_perms      = AV_PERM_READ | AV_PERM_PRESERVE, },
                                   { .name = NULL }},
     .outputs   = (const AVFilterPad[]) {{ .name = NULL }},
 };