mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-20 05:52:41 +08: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:
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->data, pic->data, sizeof(pic->data));
|
||||||
memcpy(pic2->linesize, pic->linesize, sizeof(pic->linesize));
|
memcpy(pic2->linesize, pic->linesize, sizeof(pic->linesize));
|
||||||
|
pic2->interlaced_frame = pic->interlaced;
|
||||||
|
pic2->top_field_first = pic->top_field_first;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user