vf_select: require AV_PERM_PRESERVE.

This is only necessary because of the poll_frame implementation.
Removing it altogether would be another solution.
This commit is contained in:
Nicolas George 2012-08-14 18:49:17 +02:00
parent f6647d8825
commit 469d07a0e4

View File

@ -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,