diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-05-07 10:02:59 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-05-07 10:02:59 +0000 |
commit | efdc74ef198e9e73e63818f20417e4582b9b6a18 (patch) | |
tree | a2ed3b8a3eb9912c555da9a04f424768a4fcd74b /libavfilter/vf_scale.c | |
parent | 46847a336e7e71559c8f3917bf8512c90635598b (diff) |
Try to keep track of interlaced and top field first.
Originally committed as revision 23044 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 7a0994fe97..e65057cfd7 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -150,6 +150,9 @@ static void start_frame(AVFilterLink *link, AVFilterPicRef *picref) 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; + outlink->outpic = outpicref; av_reduce(&outpicref->pixel_aspect.num, &outpicref->pixel_aspect.den, |