avfilter_(un)ref_pic -> avfilter_(un)ref_buffer avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props AVFilterBufferRef.pic -> AVFilterBufferRef.buffer They have been renamed to allow sharing with audio. Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$. Originally committed as revision 24731 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/vsrc_buffer.c (1 of 11 files). Show all
Unified · Split
| @@ -126,10 +126,10 @@ static int request_frame(AVFilterLink *link) · 125 unmodified lines | ||
| 126 | 126 | picref->pixel_aspect = c->pixel_aspect; |
| 127 | 127 | picref->interlaced = c->frame.interlaced_frame; |
| 128 | 128 | picref->top_field_first = c->frame.top_field_first; |
| 129 | − avfilter_start_frame(link, avfilter_ref_pic(picref, ~0)); | |
| 129 | + avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0)); | |
| 130 | 130 | avfilter_draw_slice(link, 0, link->h, 1); |
| 131 | 131 | avfilter_end_frame(link); |
| 132 | − avfilter_unref_pic(picref); | |
| 132 | + avfilter_unref_buffer(picref); | |
| 133 | 133 | |
| 134 | 134 | c->has_frame = 0; |
| 135 | 135 | |