Class: Gst::ProxyPad

Inherits:
Pad
  • Object
show all
Defined in:
(unknown)

Direct Known Subclasses

GhostPad

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Pad

#activate_mode, #active=, #add_probe, #allowed_caps, #can_link, #caps, #caps=, #chain, #chain_list, #check_reconfigure, #create_stream_id, #create_stream_id_printf, #create_stream_id_printf_valist, #current_caps, #direction, #direction=, #element_private, #element_private=, #event_default, #forward, #get_range, #get_sticky_event, #has_current_caps, #initialize, #is_active, #is_blocked, #is_blocking, #is_linked, #iterate_internal_links, #iterate_internal_links_default, #last_flow_return, #link, #link_full, link_get_name, #link_maybe_ghosting, #link_maybe_ghosting_full, #mark_reconfigure, #needs_reconfigure, #offset, #offset=, #pad_template, #pad_template_caps, #parent_element, #pause_task, #peer, #peer_query, #peer_query_accept_caps, #peer_query_caps, #peer_query_convert, #peer_query_duration, #peer_query_position, #proxy_query_accept_caps, #proxy_query_caps, #pull_range, #push, #push_event, #push_list, #query, #query_accept_caps, #query_caps, #query_convert, #query_default, #query_duration, #query_position, #remove_probe, #send_event, #set_activate_function_full, #set_activatemode_function_full, #set_chain_function_full, #set_chain_list_function_full, #set_event_full_function_full, #set_event_function_full, #set_getrange_function_full, #set_iterate_internal_links_function_full, #set_link_function_full, #set_query_function_full, #set_unlink_function_full, #single_internal_link, #start_task, #sticky_events_foreach, #stop_task, #store_sticky_event, #stream, #stream_id, #task_state, #template, #template=, #unlink, #use_fixed_caps

Methods inherited from Object

#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref

Constructor Details

This class inherits a constructor from Gst::Pad

Class Method Details

.chain_default(pad, parent, buffer) ⇒ Gst::FlowReturn

Invoke the default chain function of the proxy pad.

Parameters:

  • pad (Gst::Pad)

    a sink Gst::Pad, returns GST_FLOW_ERROR if not.

  • parent (Gst::Object)

    the parent of pad or nil

  • buffer (Gst::Buffer)

    the Gst::Buffer to send, return GST_FLOW_ERROR if not.

Returns:

.chain_list_default(pad, parent, list) ⇒ Gst::FlowReturn

Invoke the default chain list function of the proxy pad.

Parameters:

  • pad (Gst::Pad)

    a sink Gst::Pad, returns GST_FLOW_ERROR if not.

  • parent (Gst::Object)

    the parent of pad or nil

  • list (Gst::BufferList)

    the Gst::BufferList to send, return GST_FLOW_ERROR if not.

Returns:

.getrange_default(pad, parent, offset, size, buffer) ⇒ Gst::FlowReturn

Invoke the default getrange function of the proxy pad.

Parameters:

  • pad (Gst::Pad)

    a src Gst::Pad, returns #GST_FLOW_ERROR if not.

  • parent (Gst::Object)

    the parent of pad

  • offset (Integer)

    The start offset of the buffer

  • size (Integer)

    The length of the buffer

  • buffer (Gst::Buffer)

    a pointer to hold the Gst::Buffer, returns #GST_FLOW_ERROR if nil.

Returns:

Invoke the default iterate internal links function of the proxy pad. has no parent. Unref each returned pad with gst_object_unref().

Parameters:

  • pad (Gst::Pad)

    the Gst::Pad to get the internal links of.

  • parent (Gst::Object)

    the parent of pad or nil

Returns:

  • (Gst::Iterator)

    a Gst::Iterator of #GstPad, or nil if pad

Instance Method Details

#internalGst::ProxyPad

Get the internal pad of pad. Unref target pad after usage.

The internal pad of a Gst::GhostPad is the internally used pad of opposite direction, which is used to link to the target. be nil. Unref target pad after usage.

Returns: