[FFmpeg-devel] [PATCH] lavfi/avfilter.h: add doxy for AVFilterLink.cur_buf

Stefano Sabatini stefasab at gmail.com
Mon Jul 23 00:42:07 CEST 2012


On date Sunday 2012-07-22 12:59:16 +0200, Nicolas George encoded:
> Le quintidi 5 thermidor, an CCXX, Stefano Sabatini a écrit :
> > +    /**
> > +     * The accessed buffer reference to the frame sent across the link
> 
> I do not understand what "accessed" means here exactly.
> 
> > +     * by the source filter. This is the same as src_buf if there is
> > +     * no need to copy it, otherwise is an accessible copy of the
> > +     * source buffer.
> 

> Maybe add: "It belongs to the destination filter of the link."?

Reworded the first paragraph, I didn't add this sentence because it
seemed redundant and possibly ambiguous.

> > +     *
> > +     * This is automatically freed by the filter system. In case you
> > +     * save the buffer reference internally (e.g. if you cache it for
> > +     * later reuse), you must set it to NULL.
>                        ^
> ... "or you give the it away (e.g. to the next filter)"?

Added, updated.
-- 
FFmpeg = Fierce and Fabulous Majestic Puritan Enhanced Gargoyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavfi-avfilter.h-add-doxy-for-AVFilterLink.cur_buf.patch
Type: text/x-diff
Size: 1318 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120723/a5983139/attachment.bin>


More information about the ffmpeg-devel mailing list