mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-28 23:49:20 +00:00
Rename functions and fields:
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
This commit is contained in:
parent
ecc8dada37
commit
7fce481a69
11 changed files with 49 additions and 49 deletions
|
@ -126,10 +126,10 @@ static int request_frame(AVFilterLink *link)
|
|||
picref->pixel_aspect = c->pixel_aspect;
|
||||
picref->interlaced = c->frame.interlaced_frame;
|
||||
picref->top_field_first = c->frame.top_field_first;
|
||||
avfilter_start_frame(link, avfilter_ref_pic(picref, ~0));
|
||||
avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
|
||||
avfilter_draw_slice(link, 0, link->h, 1);
|
||||
avfilter_end_frame(link);
|
||||
avfilter_unref_pic(picref);
|
||||
avfilter_unref_buffer(picref);
|
||||
|
||||
c->has_frame = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue