diff options
Diffstat (limited to 'gst/flacparse/gstbaseparse.h')
-rw-r--r-- | gst/flacparse/gstbaseparse.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/flacparse/gstbaseparse.h b/gst/flacparse/gstbaseparse.h index b4b44c26..5ccbf097 100644 --- a/gst/flacparse/gstbaseparse.h +++ b/gst/flacparse/gstbaseparse.h @@ -151,6 +151,8 @@ struct _GstBaseParse { * set the buffer timestamp, duration, caps and possibly * other necessary metadata. This is called with srcpad's * STREAM_LOCK held. + * @frame_in_segment: Optional. Check if the given frame is contained in the + * given segment. * @convert: Optional. * Convert between formats. * @find_frame: Optional. @@ -197,6 +199,10 @@ struct _GstBaseParseClass { GstFlowReturn (*parse_frame) (GstBaseParse *parse, GstBuffer *buffer); + gboolean (*frame_in_segment) (GstBaseParse *parse, + GstBuffer *buffer, + GstSegment *segment); + gboolean (*convert) (GstBaseParse * parse, GstFormat src_format, gint64 src_value, |