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/defaults.c | |
parent | e9e40c875e6ef8244cefd70418d04f215042b423 (diff) | |
download | ffmpeg-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.c | 6 |
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)); } } |