mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
baseparse: tweak some documentation
This commit is contained in:
parent
bfa4bb7150
commit
d95d2cfa1b
2 changed files with 6 additions and 7 deletions
|
@ -656,8 +656,7 @@ gst_base_parse_frame_init (GstBaseParseFrame * frame)
|
||||||
* then use gst_base_parse_frame_init() to initialise it.
|
* then use gst_base_parse_frame_init() to initialise it.
|
||||||
*
|
*
|
||||||
* Returns: a newly-allocated #GstBaseParseFrame. Free with
|
* Returns: a newly-allocated #GstBaseParseFrame. Free with
|
||||||
* gst_base_parse_frame_free() when no longer needed, unless you gave
|
* gst_base_parse_frame_free() when no longer needed.
|
||||||
* away ownership to gst_base_parse_push_frame().
|
|
||||||
*
|
*
|
||||||
* Since: 0.10.33
|
* Since: 0.10.33
|
||||||
*/
|
*/
|
||||||
|
@ -2163,7 +2162,8 @@ no_caps:
|
||||||
* If @frame's out_buffer is set, that will be used as subsequent frame data.
|
* If @frame's out_buffer is set, that will be used as subsequent frame data.
|
||||||
* Otherwise, @size samples will be taken from the input and used for output,
|
* Otherwise, @size samples will be taken from the input and used for output,
|
||||||
* and the output's metadata (timestamps etc) will be taken as (optionally)
|
* and the output's metadata (timestamps etc) will be taken as (optionally)
|
||||||
* set by the subclass on @frame's (input) buffer.
|
* set by the subclass on @frame's (input) buffer (which is otherwise
|
||||||
|
* ignored for any but the above purpose/information).
|
||||||
*
|
*
|
||||||
* Note that the latter buffer is invalidated by this call, whereas the
|
* Note that the latter buffer is invalidated by this call, whereas the
|
||||||
* caller retains ownership of @frame.
|
* caller retains ownership of @frame.
|
||||||
|
|
|
@ -203,10 +203,9 @@ struct _GstBaseParse {
|
||||||
* The frame's input buffer is guaranteed writable,
|
* The frame's input buffer is guaranteed writable,
|
||||||
* whereas the input frame ownership is held by caller
|
* whereas the input frame ownership is held by caller
|
||||||
* (so subclass should make a copy if it needs to hang on).
|
* (so subclass should make a copy if it needs to hang on).
|
||||||
* Input buffer (data) is equally managed by baseclass and should also be
|
* Input buffer (data) is provided by baseclass with as much
|
||||||
* copied (e.g. gst_buffer_copy_region()) when needed.
|
* metadata set as possible by baseclass according to upstream
|
||||||
* Time metadata will already be set as much as possible by baseclass
|
* information and/or subclass settings,
|
||||||
* according to upstream information and/or subclass settings,
|
|
||||||
* though subclass may still set buffer timestamp and duration
|
* though subclass may still set buffer timestamp and duration
|
||||||
* if desired.
|
* if desired.
|
||||||
* @convert: Optional.
|
* @convert: Optional.
|
||||||
|
|
Loading…
Reference in a new issue