diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-07-22 12:12:51 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-07-25 10:03:34 +0200 |
commit | e564de26b363f306cf03960217a097a74c944efd (patch) | |
tree | abfea9b4a9a2d1c7a4863433cb96d35ab7ea38a5 | |
parent | b73be80d48c690450d80fd317f1495136daa43e9 (diff) | |
download | ffmpeg-e564de26b363f306cf03960217a097a74c944efd.tar.gz |
lavfi/avfilter.h: add doxy for AVFilterLink.out_buf
-rw-r--r-- | libavfilter/avfilter.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 47435f0879..91820dde3b 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -594,6 +594,24 @@ struct AVFilterLink { */ AVFilterBufferRef *cur_buf; + /** + * The buffer reference to the frame which is sent to output by + * the source filter. + * + * If no start_frame callback is defined on a link, + * ff_start_frame() will automatically request a new buffer on the + * first output link of the destination filter. The reference to + * the buffer so obtained is stored in the out_buf field on the + * output link. + * + * It can also be set by the filter code in case the filter needs + * to access the output buffer later. For example the filter code + * may set it in a custom start_frame, and access it in + * draw_slice. + * + * It is automatically freed by the filter system in + * ff_end_frame(). + */ AVFilterBufferRef *out_buf; struct AVFilterPool *pool; |