Sets our main struct and passes it to the parent class.
Drop the buffer currently queued in @pad.
Get the main Gtk struct
the main Gtk struct as a void*
This checks if a pad has a buffer available that will be returned by a call to gst_aggregator_pad_peek_buffer() or gst_aggregator_pad_pop_buffer().
Steal the ref to the buffer currently queued in @pad.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Queries a pad for the stream position. This is a convenience function for gstreamerD.
Queries a pad for the stream duration. This is a convenience function for gstreamerD.
Gets a string representing the given pad-link return.
Activates or deactivates the given pad in @mode via dispatching to the pad's activatemodefunc. For use from within pad activation functions only.
Be notified of different states of pads. The provided callback is called for every state that matches @mask.
Checks if the source pad and the sink pad are compatible so they can be linked.
Chain a buffer to @pad.
Chain a bufferlist to @pad.
Check and clear the #GST_PAD_FLAG_NEED_RECONFIGURE flag on @pad and return %TRUE if the flag was set.
Creates a stream-id for the source #GstPad @pad by combining the upstream information with the optional @stream_id of the stream of @pad. @pad must have a parent #GstElement and which must have zero or one sinkpad. @stream_id can only be %NULL if the parent element of @pad has only a single source pad.
Creates a stream-id for the source #GstPad @pad by combining the upstream information with the optional @stream_id of the stream of @pad. @pad must have a parent #GstElement and which must have zero or one sinkpad. @stream_id can only be %NULL if the parent element of @pad has only a single source pad.
Invokes the default event handler for the given pad.
Calls @forward for all internally linked pads of @pad. This function deals with dynamically changing internal pads and will make sure that the @forward function is only called once for each pad.
Gets the capabilities of the allowed media types that can flow through @pad and its peer.
Gets the capabilities currently configured on @pad with the last #GST_EVENT_CAPS event.
Gets the direction of the pad. The direction of the pad is decided at construction time so this function does not take the LOCK.
Gets the private data of a pad. No locking is performed in this function.
Gets the #GstFlowReturn return from the last data passed by this pad.
Get the offset applied to the running time of @pad. @pad has to be a source pad.
Gets the template for @pad.
Gets the capabilities for @pad's template.
Gets the parent of @pad, cast to a #GstElement. If a @pad has no parent or its parent is not an element, return %NULL.
Gets the peer of @pad. This function refs the peer pad so you need to unref it after use.
When @pad is flushing this function returns #GST_FLOW_FLUSHING immediately and @buffer is %NULL.
If there is a single internal link of the given pad, this function will return it. Otherwise, it will return NULL.
Returns a new reference of the sticky event of type @event_type from the event.
Returns the current #GstStream for the @pad, or %NULL if none has been set yet, i.e. the pad has not received a stream-start event yet.
Returns the current stream-id for the @pad, or %NULL if none has been set yet, i.e. the pad has not received a stream-start event yet.
Get @pad task state. If no task is currently set, #GST_TASK_STOPPED is returned.
Check if @pad has caps set on it with a #GST_EVENT_CAPS event.
Query if a pad is active
Checks if the pad is blocked or not. This function returns the last requested state of the pad. It is not certain that the pad is actually blocking at this point (see gst_pad_is_blocking()).
Checks if the pad is blocking or not. This is a guaranteed state of whether the pad is actually blocking on a #GstBuffer or a #GstEvent.
Checks if a @pad is linked to another pad or not.
Gets an iterator for the pads to which the given pad is linked to inside of the parent element.
Iterate the list of pads to which the given pad is linked to inside of the parent element. This is the default handler, and thus returns an iterator of all of the pads inside the parent element with opposite direction.
Links the source pad and the sink pad.
Links the source pad and the sink pad.
Links @src to @sink, creating any #GstGhostPad's in between as necessary.
Links @src to @sink, creating any #GstGhostPad's in between as necessary.
Mark a pad for needing reconfiguration. The next call to gst_pad_check_reconfigure() will return %TRUE after this call.
Check the #GST_PAD_FLAG_NEED_RECONFIGURE flag on @pad and return %TRUE if the flag was set.
Pause the task of @pad. This function will also wait until the function executed by the task is finished if this function is not called from the task function.
Performs gst_pad_query() on the peer of @pad.
Check if the peer of @pad accepts @caps. If @pad has no peer, this function returns %TRUE.
Gets the capabilities of the peer connected to this pad. Similar to gst_pad_query_caps().
Queries the peer pad of a given sink pad to convert @src_val in @src_format to @dest_format.
Queries the peer pad of a given sink pad for the total stream duration.
Queries the peer of a given sink pad for the stream position.
Checks if all internally linked pads of @pad accepts the caps in @query and returns the intersection of the results.
Calls gst_pad_query_caps() for all internally linked pads of @pad and returns the intersection of the results.
Pulls a @buffer from the peer pad or fills up a provided buffer.
Pushes a buffer to the peer of @pad.
Sends the event to the peer of the given pad. This function is mainly used by elements to send events to their peer elements.
Pushes a buffer list to the peer of @pad.
Dispatches a query to a pad. The query should have been allocated by the caller via one of the type-specific allocation functions. The element that the pad belongs to is responsible for filling the query with an appropriate response, which should then be parsed with a type-specific query parsing function.
Check if the given pad accepts the caps.
Gets the capabilities this pad can produce or consume. Note that this method doesn't necessarily return the caps set by sending a gst_event_new_caps() - use gst_pad_get_current_caps() for that instead. gst_pad_query_caps returns all possible caps a pad can operate with, using the pad's CAPS query function, If the query fails, this function will return @filter, if not %NULL, otherwise ANY.
Queries a pad to convert @src_val in @src_format to @dest_format.
Invokes the default query handler for the given pad. The query is sent to all pads internally linked to @pad. Note that if there are many possible sink pads that are internally linked to @pad, only one will be sent the query. Multi-sinkpad elements should implement custom query handlers.
Queries a pad for the total stream duration.
Queries a pad for the stream position.
Remove the probe with @id from @pad.
Sends the event to the pad. This function can be used by applications to send events in the pipeline.
Sets the given activate function for @pad. The activate function will dispatch to gst_pad_activate_mode() to perform the actual activation. Only makes sense to set on sink pads.
Sets the given activate_mode function for the pad. An activate_mode function prepares the element for data passing.
Activates or deactivates the given pad. Normally called from within core state change functions.
Sets the given chain function for the pad. The chain function is called to process a #GstBuffer input buffer. see #GstPadChainFunction for more details.
Sets the given chain list function for the pad. The chainlist function is called to process a #GstBufferList input buffer list. See #GstPadChainListFunction for more details.
Set the given private data gpointer on the pad. This function can only be used by the element that owns the pad. No locking is performed in this function.
Sets the given event handler for the pad.
Sets the given event handler for the pad.
Sets the given getrange function for the pad. The getrange function is called to produce a new #GstBuffer to start the processing pipeline. see #GstPadGetRangeFunction for a description of the getrange function.
Sets the given internal link iterator function for the pad.
Sets the given link function for the pad. It will be called when the pad is linked with another pad.
Set the offset that will be applied to the running time of @pad.
Set the given query function for the pad.
Sets the given unlink function for the pad. It will be called when the pad is unlinked.
Starts a task that repeatedly calls @func with @user_data. This function is mostly used in pad activation functions to start the dataflow. The #GST_PAD_STREAM_LOCK of @pad will automatically be acquired before @func is called.
Iterates all sticky events on @pad and calls @foreach_func for every event. If @foreach_func returns %FALSE the iteration is immediately stopped.
Stop the task of @pad. This function will also make sure that the function executed by the task will effectively stop if not called from the GstTaskFunction.
Store the sticky @event on @pad
Unlinks the source pad from the sink pad. Will emit the #GstPad::unlinked signal on both pads.
A helper function you can use that sets the FIXED_CAPS flag This way the default CAPS query will always return the negotiated caps or in case the pad is not negotiated, the padtemplate caps.
Signals that a pad has been linked to the peer pad.
Signals that a pad has been unlinked from the peer pad.
Gets a string representing the given flow return.
Get the unique quark for the given GstFlowReturn.
Return the name of a pad mode, for use in debug messages mostly.
Pads managed by a #GstAggregator subclass.
This class used to live in gst-plugins-bad and was moved to core.