X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libs%2Fgst%2Fbase%2Fgstbaseparse.h;h=24fd9079c0cb6a32a1a5f99527f6969b44b06d74;hb=76c9b0689dce5e3c56887863576b573b50043760;hp=21c2fd46b1da309d90a66fdf049a228746e2bb87;hpb=dfe5467209f6c354c78610ca3bf903d3691a975d;p=platform%2Fupstream%2Fgstreamer.git diff --git a/libs/gst/base/gstbaseparse.h b/libs/gst/base/gstbaseparse.h index 21c2fd4..24fd907 100644 --- a/libs/gst/base/gstbaseparse.h +++ b/libs/gst/base/gstbaseparse.h @@ -221,10 +221,10 @@ struct _GstBaseParse { * @sink_query: Optional. * Query handler on the sink pad. This function should chain * up to the parent implementation to let the default handler - * run (Since 1.2) + * run (Since: 1.2) * @src_query: Optional. * Query handler on the source pad. Should chain up to the - * parent to let the default handler run (Since 1.2) + * parent to let the default handler run (Since: 1.2) * * Subclasses can override any of the available virtual methods or not, as * needed. At minimum @handle_frame needs to be overridden. @@ -369,6 +369,27 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBaseParseFrame, gst_base_parse_frame_free) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBaseParse, gst_object_unref) #endif +#ifdef TIZEN_FEATURE_BASEPARSE_MODIFICATION +GST_BASE_API +void gst_base_parse_get_upstream_size (GstBaseParse * parse, + gint64 * upstream_size); + +GST_BASE_API +void gst_base_parse_get_index_last_offset (GstBaseParse * parse, + gint64 * index_last_offset); + +GST_BASE_API +void gst_base_parse_get_index_last_ts (GstBaseParse * parse, + GstClockTime * index_last_ts); + +GST_BASE_API +void gst_base_parse_get_pad_mode (GstBaseParse * parse, + GstPadMode * pad_mode); + +GST_BASE_API +void gst_base_parse_set_seek_mode (GstBaseParse * parse, + gboolean seek_mode); +#endif G_END_DECLS #endif /* __GST_BASE_PARSE_H__ */