|
|
|
@@ -190,6 +190,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref) |
|
|
|
} |
|
|
|
|
|
|
|
if (s->occupied) { |
|
|
|
av_frame_make_writable(s->frame[nout]); |
|
|
|
for (i = 0; i < s->nb_planes; i++) { |
|
|
|
// fill in the EARLIER field from the buffered pic |
|
|
|
av_image_copy_plane(s->frame[nout]->data[i] + s->frame[nout]->linesize[i] * s->first_field, |
|
|
|
@@ -213,6 +214,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref) |
|
|
|
|
|
|
|
while (len >= 2) { |
|
|
|
// output THIS image as-is |
|
|
|
av_frame_make_writable(s->frame[nout]); |
|
|
|
for (i = 0; i < s->nb_planes; i++) |
|
|
|
av_image_copy_plane(s->frame[nout]->data[i], s->frame[nout]->linesize[i], |
|
|
|
inpicref->data[i], inpicref->linesize[i], |
|
|
|
|