X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fframesync.h;h=abf3bf552b99c538e1d948209e95ee558f8c58b6;hb=f0320afab977edc7b73317c8ef36ff1d60296401;hp=9fdc4d1ae2db0d421d59ab684fac48600acf3205;hpb=5b5365fe9d635005a9020d89c2448f4b5828d42f;p=ffmpeg diff --git a/libavfilter/framesync.h b/libavfilter/framesync.h index 9fdc4d1ae2d..abf3bf552b9 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);