diff options
author | S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu> | 2010-08-07 01:15:34 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-07 01:15:34 +0000 |
commit | 5d4890d73d77a75bd3bbb3e469de32da71742726 (patch) | |
tree | da63fedb78b6c5553bd62436731240f8c558d88d /libavfilter/defaults.c | |
parent | 7fce481a69053dd24dbf9f1cb0f5b51df2ec925c (diff) |
Rename fields:
AVFilterLink.srcpic -> AVFilterLink.src_buf
AVFilterLink.cur_pic -> AVFilterLink.cur_buf
AVFilterLink.outpic -> AVFilterLink.out_buf
The new names are more generic and more consistent, since the struct
they contain, which was named AVFilterPicRef, has been renamed to
AVFilterBufferRef.
Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%.
Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r-- | libavfilter/defaults.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index 78696e4665..5b1d5b86a6 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -73,9 +73,9 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterBufferRef *picref) out = link->dst->outputs[0]; if(out) { - out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE, out->w, out->h); - avfilter_copy_buffer_ref_props(out->outpic, picref); - avfilter_start_frame(out, avfilter_ref_buffer(out->outpic, ~0)); + out->out_buf = avfilter_get_video_buffer(out, AV_PERM_WRITE, out->w, out->h); + avfilter_copy_buffer_ref_props(out->out_buf, picref); + avfilter_start_frame(out, avfilter_ref_buffer(out->out_buf, ~0)); } } @@ -97,13 +97,13 @@ void avfilter_default_end_frame(AVFilterLink *link) if(link->dst->output_count) out = link->dst->outputs[0]; - avfilter_unref_buffer(link->cur_pic); - link->cur_pic = NULL; + avfilter_unref_buffer(link->cur_buf); + link->cur_buf = NULL; if(out) { - if(out->outpic) { - avfilter_unref_buffer(out->outpic); - out->outpic = NULL; + if(out->out_buf) { + avfilter_unref_buffer(out->out_buf); + out->out_buf = NULL; } avfilter_end_frame(out); } |