Revision be36bc09 libavfilter/avfilter.c

View differences:

libavfilter/avfilter.c
222 222

  
223 223
        link->cur_pic = avfilter_default_get_video_buffer(link, link_dpad(link).min_perms);
224 224
        link->srcpic = picref;
225
        link->cur_pic->pts = link->srcpic->pts;
225 226
    }
226 227
    else
227 228
        link->cur_pic = picref;
......
256 257
    if(link->srcpic) {
257 258
        avcodec_get_chroma_sub_sample(link->format, &hsub, &vsub);
258 259

  
259
        link->cur_pic->pts = link->srcpic->pts;
260 260
        src[0] = link->srcpic-> data[0] + y * link->srcpic-> linesize[0];
261 261
        dst[0] = link->cur_pic->data[0] + y * link->cur_pic->linesize[0];
262 262
        for(i = 1; i < 4; i ++) {

Also available in: Unified diff