diff options
author | Víctor Paesa <victorpaesa@googlemail.com> | 2010-07-11 14:44:43 +0000 |
---|---|---|
committer | Víctor Paesa <victorpaesa@googlemail.com> | 2010-07-11 14:44:43 +0000 |
commit | 922189feb065bc0c7aaa87146ad4d43b6e528b7b (patch) | |
tree | 0de9875ba53dbce3fd9fa4185e39f2fe7bb74405 /libavfilter/vf_scale.c | |
parent | e9e40c875e6ef8244cefd70418d04f215042b423 (diff) |
Use avfilter_copy_picref_props() along lavfi.
Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 18c8881334..ebbc575328 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -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; |