]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_astreamsync.c
af_channelmap: require AV_PERM_PRESERVE.
[ffmpeg] / libavfilter / af_astreamsync.c
index 3c5b77e0ab05d390ec046bb6c4797f9817887569..97686472a94a030accdfee56af28eb97652cc7c6 100644 (file)
@@ -192,11 +192,11 @@ AVFilter avfilter_af_astreamsync = {
         { .name             = "in1",
           .type             = AVMEDIA_TYPE_AUDIO,
           .filter_samples   = filter_samples,
-          .min_perms        = AV_PERM_READ, },
+          .min_perms        = AV_PERM_READ | AV_PERM_PRESERVE, },
         { .name             = "in2",
           .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[]) {