diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-26 11:01:21 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-26 11:04:01 +0100 |
commit | 3844f8026637f1e7aadc34de0d4e0dcb759ec3f6 (patch) | |
tree | afaaafb3afa02beee2350599c8e8eaf7fda1f5a0 /gst/gstpad.h | |
parent | b6d11d844e366452dcde6d0c9191fd7614c5a4d6 (diff) |
pad: add probe id to the info
Diffstat (limited to 'gst/gstpad.h')
-rw-r--r-- | gst/gstpad.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h index 93c497070..d4a66de26 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -514,6 +514,7 @@ typedef enum /** * GstPadProbeInfo: * @type: the current probe type + * @id: the id of the probe * @data: type specific data, check the @type field to know the datatype. * This field can be NULL. * @offset: offset of pull probe, this field is valid when @type contains @@ -526,6 +527,7 @@ typedef enum typedef struct { GstPadProbeType type; + gulong id; gpointer data; guint64 offset; guint size; @@ -534,6 +536,7 @@ typedef struct } GstPadProbeInfo; #define GST_PAD_PROBE_INFO_TYPE(d) ((d)->type) +#define GST_PAD_PROBE_INFO_ID(d) ((d)->id) #define GST_PAD_PROBE_INFO_DATA(d) ((d)->data) #define GST_PAD_PROBE_INFO_BUFFER(d) GST_BUFFER_CAST(GST_PAD_PROBE_INFO_DATA(d)) |