[FFmpeg-devel] [PATCH 4/5] lavfi/select/scene: add AV_PERM_ALIGN to the min_perms for dsputil code.

Clément Bœsch ubitux at gmail.com
Sat Oct 13 18:31:45 CEST 2012


It doesn't seem to have any effect ATM though.
---
 libavfilter/vf_select.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c
index 1dd0e73..baf96a1 100644
--- a/libavfilter/vf_select.c
+++ b/libavfilter/vf_select.c
@@ -423,7 +423,7 @@ static const AVFilterPad avfilter_vf_select_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .get_video_buffer = ff_null_get_video_buffer,
-        .min_perms        = AV_PERM_PRESERVE,
+        .min_perms        = AV_PERM_PRESERVE | AV_PERM_ALIGN,
         .config_props     = config_input,
         .start_frame      = start_frame,
         .draw_slice       = draw_slice,
-- 
1.7.12.2



More information about the ffmpeg-devel mailing list