aboutsummaryrefslogtreecommitdiff
path: root/libs/gst/base/gsttypefindhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gst/base/gsttypefindhelper.h')
-rw-r--r--libs/gst/base/gsttypefindhelper.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/libs/gst/base/gsttypefindhelper.h b/libs/gst/base/gsttypefindhelper.h
index 052bc19..a61c042 100644
--- a/libs/gst/base/gsttypefindhelper.h
+++ b/libs/gst/base/gsttypefindhelper.h
@@ -44,6 +44,7 @@ GstCaps * gst_type_find_helper_for_extension (GstObject * obj,
/**
* GstTypeFindHelperGetRangeFunction:
* @obj: a #GstObject that will handle the getrange request
+ * @parent: the parent of @obj or NULL
* @offset: the offset of the range
* @length: the length of the range
* @buffer: a memory location to hold the result buffer
@@ -59,21 +60,18 @@ GstCaps * gst_type_find_helper_for_extension (GstObject * obj,
* Returns: GST_FLOW_OK for success
*/
typedef GstFlowReturn (*GstTypeFindHelperGetRangeFunction) (GstObject *obj,
+ GstObject *parent,
guint64 offset,
guint length,
GstBuffer **buffer);
-GstCaps * gst_type_find_helper_get_range (GstObject * obj,
+GstCaps * gst_type_find_helper_get_range (GstObject *obj,
+ GstObject *parent,
GstTypeFindHelperGetRangeFunction func,
guint64 size,
+ const gchar *extension,
GstTypeFindProbability *prob);
-GstCaps * gst_type_find_helper_get_range_ext (GstObject * obj,
- GstTypeFindHelperGetRangeFunction func,
- guint64 size,
- const gchar *extension,
- GstTypeFindProbability *prob);
-
G_END_DECLS
#endif /* __GST_TYPEFINDHELPER_H__ */