Make sure get_filtered_video_pic() doesnt loose interlacedframe/tff.

Originally committed as revision 23049 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2010-05-07 12:05:24 +00:00
parent cccc039f71
commit bdab692f48

View File

@ -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;
}