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/avfilter.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/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 38ca3b1e91..f442cdc3b4 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -263,11 +263,7 @@ void avfilter_start_frame(AVFilterLink *link, AVFilterPicRef *picref) link->cur_pic = avfilter_default_get_video_buffer(link, dst->min_perms, link->w, link->h); link->srcpic = picref; - link->cur_pic->pts = link->srcpic->pts; - link->cur_pic->pos = link->srcpic->pos; - link->cur_pic->pixel_aspect = link->srcpic->pixel_aspect; - link->cur_pic->interlaced = link->srcpic->interlaced; - link->cur_pic->top_field_first = link->srcpic->top_field_first; + avfilter_copy_picref_props(link->cur_pic, link->srcpic); } else link->cur_pic = picref; |