From b046ba6e3a5ac5af8941d7c4d67614f6fe19b68d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 20 Oct 2011 16:59:01 +0200 Subject: [PATCH] baseparse: Fix documentation, it's pre_push_frame and not pre_push_buffer --- libs/gst/base/gstbaseparse.c | 6 +++--- libs/gst/base/gstbaseparse.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index b38bd14..f28c0cd 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -106,7 +106,7 @@ * * 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. * @@ -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 */ diff --git a/libs/gst/base/gstbaseparse.h b/libs/gst/base/gstbaseparse.h index da7d951..fff4d85 100644 --- a/libs/gst/base/gstbaseparse.h +++ b/libs/gst/base/gstbaseparse.h @@ -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). * -- 2.7.4