baseparse: Fix documentation, it's pre_push_frame and not pre_push_buffer

This commit is contained in:
Sebastian Dröge 2011-10-20 16:59:01 +02:00
parent 168e5c0abb
commit b046ba6e3a
2 changed files with 5 additions and 5 deletions

View file

@ -106,7 +106,7 @@
* <listitem><para>
* Finally the buffer can be pushed downstream and the parsing loop starts
* over again. Just prior to actually pushing the buffer in question,
* it is passed to @pre_push_buffer which gives subclass yet one
* it is passed to @pre_push_frame which gives subclass yet one
* last chance to examine buffer metadata, or to send some custom (tag)
* events, or to perform custom (segment) filtering.
* </para></listitem>
@ -3184,9 +3184,9 @@ gst_base_parse_set_syncable (GstBaseParse * parse, gboolean syncable)
* parsing, and the parser should operate in passthrough mode (which only
* applies when operating in push mode). That is, incoming buffers are
* pushed through unmodified, i.e. no @check_valid_frame or @parse_frame
* callbacks will be invoked, but @pre_push_buffer will still be invoked,
* callbacks will be invoked, but @pre_push_frame will still be invoked,
* so subclass can perform as much or as little is appropriate for
* passthrough semantics in @pre_push_buffer.
* passthrough semantics in @pre_push_frame.
*
* Since: 0.10.33
*/

View file

@ -58,7 +58,7 @@ G_BEGIN_DECLS
* GST_BASE_PARSE_FLOW_DROPPED:
*
* A #GstFlowReturn that can be returned from parse_frame to
* indicate that no output buffer was generated, or from pre_push_buffer to
* indicate that no output buffer was generated, or from pre_push_frame to
* to forego pushing buffer.
*
* Since: 0.10.33
@ -107,7 +107,7 @@ G_BEGIN_DECLS
* counted as frame, e.g. if this frame is dependent on a previous one.
* As it is not counted as a frame, bitrate increases but frame to time
* conversions are maintained.
* @GST_BASE_PARSE_FRAME_FLAG_CLIP: @pre_push_buffer can set this to indicate
* @GST_BASE_PARSE_FRAME_FLAG_CLIP: @pre_push_frame can set this to indicate
* that regular segment clipping can still be performed (as opposed to
* any custom one having been done).
*