[FFmpeg-cvslog] vf_select: require AV_PERM_PRESERVE.

Nicolas George git at videolan.org
Fri Aug 17 18:44:18 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Tue Aug 14 18:49:17 2012 +0200| [469d07a0e41718bf3b7393badb958434cf3eaead] | committer: Nicolas George

vf_select: require AV_PERM_PRESERVE.

This is only necessary because of the poll_frame implementation.
Removing it altogether would be another solution.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=469d07a0e41718bf3b7393badb958434cf3eaead
---

 libavfilter/vf_select.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c
index db1b038..d47876b 100644
--- a/libavfilter/vf_select.c
+++ b/libavfilter/vf_select.c
@@ -416,6 +416,7 @@ AVFilter avfilter_vf_select = {
     .inputs    = (const AVFilterPad[]) {{ .name             = "default",
                                           .type             = AVMEDIA_TYPE_VIDEO,
                                           .get_video_buffer = ff_null_get_video_buffer,
+                                          .min_perms        = AV_PERM_PRESERVE,
                                           .config_props     = config_input,
                                           .start_frame      = start_frame,
                                           .draw_slice       = draw_slice,



More information about the ffmpeg-cvslog mailing list