Allow filters to set the requirements on permissions for incoming buffers.

Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26

Originally committed as revision 12065 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Vitor Sessak 17 years ago
parent f66f53dac8
commit 712048daf5
  1. 2
      libavfilter/defaults.c

@ -59,8 +59,6 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref)
if(link->dst->output_count) if(link->dst->output_count)
out = link->dst->outputs[0]; out = link->dst->outputs[0];
link->cur_pic = picref;
if(out) { if(out) {
out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE); out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE);
out->outpic->pts = picref->pts; out->outpic->pts = picref->pts;

Loading…
Cancel
Save