mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
baseparse: update documentation for API changes
This commit is contained in:
parent
0b95d97e63
commit
f2cc779d68
1 changed files with 1 additions and 15 deletions
|
@ -251,14 +251,6 @@ struct _GstBaseParse {
|
||||||
* STREAM_LOCK held.
|
* STREAM_LOCK held.
|
||||||
* @convert: Optional.
|
* @convert: Optional.
|
||||||
* Convert between formats.
|
* Convert between formats.
|
||||||
* @find_frame: Optional.
|
|
||||||
* Finds a frame. Gets a position passed and should return
|
|
||||||
* TRUE and the offset in bytes where this position is.
|
|
||||||
* Will only be called in pull mode and the subclass can pull
|
|
||||||
* whatever it wants from upstream. If not implemented,
|
|
||||||
* the base class will implement it by calling
|
|
||||||
* @check_valid_frame and @parse_frame to find the wanted
|
|
||||||
* frame and build a seek table.
|
|
||||||
* @event: Optional.
|
* @event: Optional.
|
||||||
* Event handler on the sink pad. This function should return
|
* Event handler on the sink pad. This function should return
|
||||||
* TRUE if the event was handled and can be dropped.
|
* TRUE if the event was handled and can be dropped.
|
||||||
|
@ -266,13 +258,7 @@ struct _GstBaseParse {
|
||||||
* Event handler on the source pad. Should return TRUE
|
* Event handler on the source pad. Should return TRUE
|
||||||
* if the event was handled and can be dropped.
|
* if the event was handled and can be dropped.
|
||||||
*
|
*
|
||||||
* @get_frame_overhead: Finds the metadata overhead for the given frame. This
|
* @pre_push_frame: Optional.
|
||||||
* is used to enable more accurate bitrate computations.
|
|
||||||
* If NULL, the per-frame overhead is assumed to be 0. If
|
|
||||||
* this returns -1, it is assumed that this frame should
|
|
||||||
* be skipped in bitrate calculation.
|
|
||||||
*
|
|
||||||
* @pre_push_buffer: Optional.
|
|
||||||
* Called just prior to pushing a frame (after any pending
|
* Called just prior to pushing a frame (after any pending
|
||||||
* events have been sent) to give subclass a chance to perform
|
* events have been sent) to give subclass a chance to perform
|
||||||
* additional actions at this time (e.g. tag sending) or to
|
* additional actions at this time (e.g. tag sending) or to
|
||||||
|
|
Loading…
Reference in a new issue