Try to keep track of interlaced and top field first.
[ffmpeg.git] / libavfilter / defaults.c
index afa0f66..f348d4f 100644 (file)
@@ -76,6 +76,8 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref)
         out->outpic->pts = picref->pts;
         out->outpic->pos = picref->pos;
         out->outpic->pixel_aspect = picref->pixel_aspect;
+        out->outpic->interlaced      = picref->interlaced;
+        out->outpic->top_field_first = picref->top_field_first;
         avfilter_start_frame(out, avfilter_ref_pic(out->outpic, ~0));
     }
 }