mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
lavfi/framesync: document frame ownership for dualinput.
This commit is contained in:
parent
09b24a807a
commit
9ace76697a
@ -286,6 +286,9 @@ int ff_framesync_init_dualinput(FFFrameSync *fs, AVFilterContext *parent);
|
|||||||
* @param f0 used to return the main frame
|
* @param f0 used to return the main frame
|
||||||
* @param f1 used to return the second frame, or NULL if disabled
|
* @param f1 used to return the second frame, or NULL if disabled
|
||||||
* @return >=0 for success or AVERROR code
|
* @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);
|
int ff_framesync_dualinput_get(FFFrameSync *fs, AVFrame **f0, AVFrame **f1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user