Browse Source

Make sure get_filtered_video_pic() doesnt loose interlacedframe/tff.

Originally committed as revision 23049 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Michael Niedermayer 15 years ago
parent
commit
bdab692f48
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffmpeg.c

+ 2
- 0
ffmpeg.c 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;
}


Loading…
Cancel
Save