mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2()
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
4cdb3c50b5
commit
00b8e650e8
@ -1898,8 +1898,10 @@ typedef struct AVCodecContext {
|
|||||||
/**
|
/**
|
||||||
* This callback is called at the beginning of each frame to get data
|
* This callback is called at the beginning of each frame to get data
|
||||||
* buffer(s) for it. There may be one contiguous buffer for all the data or
|
* buffer(s) for it. There may be one contiguous buffer for all the data or
|
||||||
* there may be a buffer per each data plane or anything in between. Each
|
* there may be a buffer per each data plane or anything in between. What
|
||||||
* buffer must be reference-counted using the AVBuffer API.
|
* this means is, you may set however many entries in buf[] you feel necessary.
|
||||||
|
* Each buffer must be reference-counted using the AVBuffer API (see description
|
||||||
|
* of buf[] below).
|
||||||
*
|
*
|
||||||
* The following fields will be set in the frame before this callback is
|
* The following fields will be set in the frame before this callback is
|
||||||
* called:
|
* called:
|
||||||
|
Loading…
Reference in New Issue
Block a user