diff options
author | Nicolas George <george@nsup.org> | 2018-01-02 14:50:59 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2018-01-03 19:54:39 +0100 |
commit | 9ace76697ac1e43aa4da4c7333ec4a296907c336 (patch) | |
tree | bf7b5425ad07015d784be3cf2c89c8957d321cbb /libavfilter/framesync.h | |
parent | 09b24a807ad23b4fec25049775075cc63c0c1fa3 (diff) | |
download | ffmpeg-9ace76697ac1e43aa4da4c7333ec4a296907c336.tar.gz |
lavfi/framesync: document frame ownership for dualinput.
Diffstat (limited to 'libavfilter/framesync.h')
-rw-r--r-- | libavfilter/framesync.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/framesync.h b/libavfilter/framesync.h index 9fdc4d1ae2..abf3bf552b 100644 --- a/libavfilter/framesync.h +++ b/libavfilter/framesync.h @@ -286,6 +286,9 @@ int ff_framesync_init_dualinput(FFFrameSync *fs, AVFilterContext *parent); * @param f0 used to return the main frame * @param f1 used to return the second frame, or NULL if disabled * @return >=0 for success or AVERROR code + * @note The frame returned in f0 belongs to the caller (get = 1 in + * ff_framesync_get_frame()) while the frame returned in f1 is still owned + * by the framesync structure. */ int ff_framesync_dualinput_get(FFFrameSync *fs, AVFrame **f0, AVFrame **f1); |