mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
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:
parent
cccc039f71
commit
bdab692f48
2
ffmpeg.c
2
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user