Merge branch 'upstream/1.16' into tizen_gst_1.16.2
[platform/upstream/gstreamer.git] / libs / gst / base / gstbaseparse.h
index 21c2fd4..24fd907 100644 (file)
@@ -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__ */