Revision 7fce481a libavfilter/vf_pixdesctest.c
libavfilter/vf_pixdesctest.c | ||
---|---|---|
58 | 58 |
outlink->outpic = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, |
59 | 59 |
outlink->w, outlink->h); |
60 | 60 |
outpicref = outlink->outpic; |
61 |
avfilter_copy_picref_props(outpicref, picref);
|
|
61 |
avfilter_copy_buffer_ref_props(outpicref, picref);
|
|
62 | 62 |
|
63 | 63 |
for (i = 0; i < 4; i++) { |
64 | 64 |
int h = outlink->h; |
... | ... | |
74 | 74 |
if (priv->pix_desc->flags & PIX_FMT_PAL) |
75 | 75 |
memcpy(outpicref->data[1], outpicref->data[1], 256*4); |
76 | 76 |
|
77 |
avfilter_start_frame(outlink, avfilter_ref_pic(outpicref, ~0));
|
|
77 |
avfilter_start_frame(outlink, avfilter_ref_buffer(outpicref, ~0));
|
|
78 | 78 |
} |
79 | 79 |
|
80 | 80 |
static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir) |
Also available in: Unified diff