Use avfilter_copy_picref_props() along lavfi.

Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Víctor Paesa
2010-07-11 14:44:43 +00:00
parent e9e40c875e
commit 922189feb0
3 changed files with 3 additions and 14 deletions

View File

@ -152,10 +152,7 @@ static void start_frame(AVFilterLink *link, AVFilterPicRef *picref)
scale->vsub = av_pix_fmt_descriptors[link->format].log2_chroma_h;
outpicref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
outpicref->pts = picref->pts;
outpicref->pos = picref->pos;
outpicref->interlaced = picref->interlaced;
outpicref->top_field_first = picref->top_field_first;
avfilter_copy_picref_props(outpicref, picref);
outlink->outpic = outpicref;