aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/defaults.c
diff options
context:
space:
mode:
authorVíctor Paesa <victorpaesa@googlemail.com>2010-07-11 14:44:43 +0000
committerVíctor Paesa <victorpaesa@googlemail.com>2010-07-11 14:44:43 +0000
commit922189feb065bc0c7aaa87146ad4d43b6e528b7b (patch)
tree0de9875ba53dbce3fd9fa4185e39f2fe7bb74405 /libavfilter/defaults.c
parente9e40c875e6ef8244cefd70418d04f215042b423 (diff)
downloadffmpeg-922189feb065bc0c7aaa87146ad4d43b6e528b7b.tar.gz
Use avfilter_copy_picref_props() along lavfi.
Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r--libavfilter/defaults.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c
index 0ac88f85e2..f53ec2472a 100644
--- a/libavfilter/defaults.c
+++ b/libavfilter/defaults.c
@@ -74,11 +74,7 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref)
if(out) {
out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE, out->w, out->h);
- 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_copy_picref_props(out->outpic, picref);
avfilter_start_frame(out, avfilter_ref_pic(out->outpic, ~0));
}
}