aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-05-07 12:05:24 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-05-07 12:05:24 +0000
commitbdab692f48fcd9973b5d063ff70a322738f6f73f (patch)
tree69b24b4f004885ce5dde6117b9dbc0e9bf967167 /ffmpeg.c
parentcccc039f71f4cff7e72b8681cf26d41839dbdc62 (diff)
downloadffmpeg-bdab692f48fcd9973b5d063ff70a322738f6f73f.tar.gz
Make sure get_filtered_video_pic() doesnt loose interlacedframe/tff.
Originally committed as revision 23049 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c4a1a149a9..140090754e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -385,6 +385,8 @@ static int get_filtered_video_pic(AVFilterContext *ctx,
memcpy(pic2->data, pic->data, sizeof(pic->data));
memcpy(pic2->linesize, pic->linesize, sizeof(pic->linesize));
+ pic2->interlaced_frame = pic->interlaced;
+ pic2->top_field_first = pic->top_field_first;
return 1;
}