| Top |
| GstCaps * | caps | Read |
| GstPadDirection | direction | Read / Write / Construct Only |
| gint64 | offset | Read / Write |
| GstPadTemplate * | template | Read / Write |
| struct | GstPad |
| enum | GstPadDirection |
| enum | GstPadFlags |
| enum | GstPadLinkReturn |
| enum | GstPadLinkCheck |
| enum | GstFlowReturn |
| enum | GstPadMode |
| enum | GstPadProbeReturn |
| enum | GstPadProbeType |
| struct | GstPadProbeInfo |
GstFlowReturn gst_pad_store_sticky_event (GstPad *pad,GstEvent *event);
GstPadLinkReturn gst_pad_link_full (GstPad *srcpad,GstPad *sinkpad,GstPadLinkCheck flags);
gboolean gst_pad_link_maybe_ghosting_full (GstPad *src,GstPad *sink,GstPadLinkCheck flags);
GstEvent * gst_pad_get_sticky_event (GstPad *pad,GstEventType event_type,guint idx);
gboolean (*GstPadStickyEventsForeachFunction) (GstPad *pad,GstEvent **event,gpointer user_data);
void gst_pad_sticky_events_foreach (GstPad *pad,GstPadStickyEventsForeachFunction foreach_func,gpointer user_data);
#define GST_PAD_PROBE_INFO_BUFFER(d) GST_BUFFER_CAST(GST_PAD_PROBE_INFO_DATA(d))
#define GST_PAD_PROBE_INFO_BUFFER_LIST(d) GST_BUFFER_LIST_CAST(GST_PAD_PROBE_INFO_DATA(d))
#define GST_PAD_PROBE_INFO_EVENT(d) GST_EVENT_CAST(GST_PAD_PROBE_INFO_DATA(d))
#define GST_PAD_PROBE_INFO_QUERY(d) GST_QUERY_CAST(GST_PAD_PROBE_INFO_DATA(d))
GstBufferList *
gst_pad_probe_info_get_buffer_list (GstPadProbeInfo *info);
GstPadProbeReturn (*GstPadProbeCallback) (GstPad *pad,GstPadProbeInfo *info,gpointer user_data);
gulong gst_pad_add_probe (GstPad *pad,GstPadProbeType mask,GstPadProbeCallback callback,gpointer user_data,GDestroyNotify destroy_data);
GstPad * gst_pad_new_from_template (GstPadTemplate *templ,const gchar *name);
GstPad * gst_pad_new_from_static_template (GstStaticPadTemplate *templ,const gchar *name);
#define gst_pad_set_chain_function(p,f) gst_pad_set_chain_function_full((p),(f),NULL,NULL)
void gst_pad_set_chain_function_full (GstPad *pad,GstPadChainFunction chain,gpointer user_data,GDestroyNotify notify);
GstFlowReturn (*GstPadChainFunction) (GstPad *pad,GstObject *parent,GstBuffer *buffer);
#define gst_pad_set_chain_list_function(p,f) gst_pad_set_chain_list_function_full((p),(f),NULL,NULL)
void gst_pad_set_chain_list_function_full (GstPad *pad,GstPadChainListFunction chainlist,gpointer user_data,GDestroyNotify notify);
GstFlowReturn (*GstPadChainListFunction) (GstPad *pad,GstObject *parent,GstBufferList *list);
GstFlowReturn gst_pad_get_range (GstPad *pad,guint64 offset,guint size,GstBuffer **buffer);
#define gst_pad_set_getrange_function(p,f) gst_pad_set_getrange_function_full((p),(f),NULL,NULL)
void gst_pad_set_getrange_function_full (GstPad *pad,GstPadGetRangeFunction get,gpointer user_data,GDestroyNotify notify);
GstFlowReturn (*GstPadGetRangeFunction) (GstPad *pad,GstObject *parent,guint64 offset,guint length,GstBuffer **buffer);
#define gst_pad_set_event_function(p,f) gst_pad_set_event_function_full((p),(f),NULL,NULL)
void gst_pad_set_event_function_full (GstPad *pad,GstPadEventFunction event,gpointer user_data,GDestroyNotify notify);
gboolean (*GstPadEventFunction) (GstPad *pad,GstObject *parent,GstEvent *event);
#define gst_pad_set_event_full_function(p,f) gst_pad_set_event_full_function_full((p),(f),NULL,NULL)
void gst_pad_set_event_full_function_full (GstPad *pad,GstPadEventFullFunction event,gpointer user_data,GDestroyNotify notify);
GstFlowReturn (*GstPadEventFullFunction) (GstPad *pad,GstObject *parent,GstEvent *event);
#define gst_pad_set_link_function(p,f) gst_pad_set_link_function_full((p),(f),NULL,NULL)
void gst_pad_set_link_function_full (GstPad *pad,GstPadLinkFunction link,gpointer user_data,GDestroyNotify notify);
GstPadLinkReturn (*GstPadLinkFunction) (GstPad *pad,GstObject *parent,GstPad *peer);
#define gst_pad_set_unlink_function(p,f) gst_pad_set_unlink_function_full((p),(f),NULL,NULL)
void gst_pad_set_unlink_function_full (GstPad *pad,GstPadUnlinkFunction unlink,gpointer user_data,GDestroyNotify notify);
gboolean gst_pad_proxy_query_accept_caps (GstPad *pad,GstQuery *query);
#define gst_pad_set_activate_function(p,f) gst_pad_set_activate_function_full((p),(f),NULL,NULL)
void gst_pad_set_activate_function_full (GstPad *pad,GstPadActivateFunction activate,gpointer user_data,GDestroyNotify notify);
#define gst_pad_set_activatemode_function(p,f) gst_pad_set_activatemode_function_full((p),(f),NULL,NULL)
void gst_pad_set_activatemode_function_full (GstPad *pad,GstPadActivateModeFunction activatemode,gpointer user_data,GDestroyNotify notify);
gboolean (*GstPadActivateModeFunction) (GstPad *pad,GstObject *parent,GstPadMode mode,gboolean active);
GstFlowReturn gst_pad_pull_range (GstPad *pad,guint64 offset,guint size,GstBuffer **buffer);
gboolean gst_pad_activate_mode (GstPad *pad,GstPadMode mode,gboolean active);
gboolean gst_pad_event_default (GstPad *pad,GstObject *parent,GstEvent *event);
gboolean gst_pad_query_default (GstPad *pad,GstObject *parent,GstQuery *query);
gboolean gst_pad_query_position (GstPad *pad,GstFormat format,gint64 *cur);
gboolean gst_pad_query_duration (GstPad *pad,GstFormat format,gint64 *duration);
gboolean gst_pad_query_convert (GstPad *pad,GstFormat src_format,gint64 src_val,GstFormat dest_format,gint64 *dest_val);
gboolean gst_pad_peer_query_position (GstPad *pad,GstFormat format,gint64 *cur);
gboolean gst_pad_peer_query_duration (GstPad *pad,GstFormat format,gint64 *duration);
gboolean gst_pad_peer_query_convert (GstPad *pad,GstFormat src_format,gint64 src_val,GstFormat dest_format,gint64 *dest_val);
gboolean gst_pad_peer_query_accept_caps (GstPad *pad,GstCaps *caps);
#define gst_pad_set_query_function(p,f) gst_pad_set_query_function_full((p),(f),NULL,NULL)
void gst_pad_set_query_function_full (GstPad *pad,GstPadQueryFunction query,gpointer user_data,GDestroyNotify notify);
gboolean (*GstPadQueryFunction) (GstPad *pad,GstObject *parent,GstQuery *query);
#define gst_pad_set_iterate_internal_links_function(p,f) gst_pad_set_iterate_internal_links_function_full((p),(f),NULL,NULL)
void gst_pad_set_iterate_internal_links_function_full (GstPad *pad,GstPadIterIntLinkFunction iterintlink,gpointer user_data,GDestroyNotify notify);
GstIterator * (*GstPadIterIntLinkFunction) (GstPad *pad,GstObject *parent);
GstIterator * gst_pad_iterate_internal_links_default (GstPad *pad,GstObject *parent);
gchar * gst_pad_create_stream_id (GstPad *pad,GstElement *parent,const gchar *stream_id);
gchar * gst_pad_create_stream_id_printf (GstPad *pad,GstElement *parent,const gchar *stream_id,...);
gchar * gst_pad_create_stream_id_printf_valist (GstPad *pad,GstElement *parent,const gchar *stream_id,va_list var_args);
gboolean gst_pad_forward (GstPad *pad,GstPadForwardFunction forward,gpointer user_data);
gboolean gst_pad_start_task (GstPad *pad,GstTaskFunction func,gpointer user_data,GDestroyNotify notify);
#define GST_PAD_GET_STREAM_LOCK(pad) (&(GST_PAD_CAST(pad)->stream_rec_lock))
#define GST_PAD_STREAM_LOCK(pad) g_rec_mutex_lock(GST_PAD_GET_STREAM_LOCK(pad))
#define GST_PAD_STREAM_TRYLOCK(pad) g_rec_mutex_trylock(GST_PAD_GET_STREAM_LOCK(pad))
#define GST_PAD_STREAM_UNLOCK(pad) g_rec_mutex_unlock(GST_PAD_GET_STREAM_LOCK(pad))
#define GST_PAD_LAST_FLOW_RETURN(pad) (GST_PAD_CAST(pad)->ABI.abi.last_flowret)
#define GST_PAD_ACTIVATEMODEFUNC(pad) (GST_PAD_CAST(pad)->activatemodefunc)
#define GST_PAD_EVENTFULLFUNC(pad) (GST_PAD_CAST(pad)->ABI.abi.eventfullfunc)
#define GST_PAD_IS_BLOCKED(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_BLOCKED))
#define GST_PAD_IS_BLOCKING(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_BLOCKING))
#define GST_PAD_IS_FLUSHING(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_FLUSHING))
#define GST_PAD_SET_FLUSHING(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_FLUSHING))
#define GST_PAD_UNSET_FLUSHING(pad) (GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_FLUSHING))
#define GST_PAD_NEEDS_RECONFIGURE(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_NEED_RECONFIGURE))
#define GST_PAD_HAS_PENDING_EVENTS(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_PENDING_EVENTS))
#define GST_PAD_IS_FIXED_CAPS(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_FIXED_CAPS))
#define GST_PAD_NEEDS_PARENT(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_NEED_PARENT))
#define GST_PAD_IS_PROXY_CAPS(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_PROXY_CAPS))
#define GST_PAD_SET_PROXY_CAPS(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_PROXY_CAPS))
#define GST_PAD_UNSET_PROXY_CAPS(pad) (GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_PROXY_CAPS))
#define GST_PAD_IS_PROXY_ALLOCATION(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_PROXY_ALLOCATION))
#define GST_PAD_SET_PROXY_ALLOCATION(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_PROXY_ALLOCATION))
#define GST_PAD_UNSET_PROXY_ALLOCATION(pad) (GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_PROXY_ALLOCATION))
#define GST_PAD_SET_PROXY_SCHEDULING(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_PROXY_SCHEDULING))
#define GST_PAD_UNSET_PROXY_SCHEDULING(pad) (GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_PROXY_SCHEDULING))
#define GST_PAD_IS_PROXY_SCHEDULING(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_PROXY_SCHEDULING))
#define GST_PAD_IS_ACCEPT_INTERSECT(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_ACCEPT_INTERSECT))
#define GST_PAD_SET_ACCEPT_INTERSECT(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_ACCEPT_INTERSECT))
#define GST_PAD_UNSET_ACCEPT_INTERSECT(pad) (GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_ACCEPT_INTERSECT))
#define GST_PAD_IS_ACCEPT_TEMPLATE(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_ACCEPT_TEMPLATE))
#define GST_PAD_SET_ACCEPT_TEMPLATE(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_ACCEPT_TEMPLATE))
struct GstPad {
gpointer element_private;
GstPadTemplate *padtemplate;
GstPadDirection direction;
};
“direction” property“direction” GstPadDirection
The direction of the pad.
Flags: Read / Write / Construct Only
Default value: GST_PAD_UNKNOWN
“offset” property“offset” gint64
The running time offset of the pad.
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“template” property“template” GstPadTemplate *
The GstPadTemplate of this pad.
Flags: Read / Write