Revision 7fce481a libavfilter/vf_scale.c

View differences:

libavfilter/vf_scale.c
152 152
    scale->vsub = av_pix_fmt_descriptors[link->format].log2_chroma_h;
153 153

  
154 154
    outpicref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
155
    avfilter_copy_picref_props(outpicref, picref);
155
    avfilter_copy_buffer_ref_props(outpicref, picref);
156 156

  
157 157
    outlink->outpic = outpicref;
158 158

  
......
162 162
              INT_MAX);
163 163

  
164 164
    scale->slice_y = 0;
165
    avfilter_start_frame(outlink, avfilter_ref_pic(outpicref, ~0));
165
    avfilter_start_frame(outlink, avfilter_ref_buffer(outpicref, ~0));
166 166
}
167 167

  
168 168
static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir)

Also available in: Unified diff