Revision efdc74ef libavfilter/vsrc_buffer.c

View differences:

libavfilter/vsrc_buffer.c
46 46

  
47 47
    memcpy(c->frame.data    , frame->data    , sizeof(frame->data));
48 48
    memcpy(c->frame.linesize, frame->linesize, sizeof(frame->linesize));
49
    c->frame.interlaced_frame= frame->interlaced_frame;
50
    c->frame.top_field_first = frame->top_field_first;
49 51
    c->pts = pts;
50 52
    c->pixel_aspect = pixel_aspect;
51 53
    c->has_frame = 1;
......
106 108

  
107 109
    picref->pts = c->pts;
108 110
    picref->pixel_aspect = c->pixel_aspect;
111
    picref->interlaced      = c->frame.interlaced_frame;
112
    picref->top_field_first = c->frame.top_field_first;
109 113
    avfilter_start_frame(link, avfilter_ref_pic(picref, ~0));
110 114
    avfilter_draw_slice(link, 0, link->h, 1);
111 115
    avfilter_end_frame(link);

Also available in: Unified diff