新規作成  編集  Ruby-GNOME2 Project Website  ページ一覧  検索  更新履歴  編集履歴  RSS  ログイン

Gst::Pad

class Gst::Pad

The link between Gst::Element objects.

Instance Methods

caps
Gets the capabilities of the pad element.
direction
This method returns the pad's direction (see GstPadDirection).
disabled?
Checks if the Gst::Pad::FLAG_DISABLED flag is set on the object.
  • Returns: true if the flag is set, false otherwise.
each_caps { |caps| ... }
Calls the block for each capability of the pad, passing a reference to the Gst::Caps object as parameter.
  • Returns: always nil.
each_event_mask { |event_mask| ... }
Calls the block for each event mask from the pad, passing a reference to the Gst::EventMask object as parameter.
  • Returns: always nil.
each_format { |format| ... }
Calls the block for each supported format from the pad, passing a reference to the Gst::Format object as parameter.
  • Returns: always nil.
each_query_type { |query_type| ... }
Calls the block for each supported query from the pad, passing a reference to the Gst::QueryType object as parameter.
  • Returns: always nil.
event_masks
Gets the list of event masks from the pad.
formats
Gets the list of supported formats from the pad.
link(other_pad)
Links the current pad (source) to an other pad (sink).
  • other_pad: a Gst::Pad.
  • Returns: true if the pads have been linked, false otherwise.
name
This method returns the pad's name.
  • Returns: the pad's name.
negotiating?
Checks if the Gst::Pad::FLAG_NEGOTIATING flag is set on the object.
  • Returns: true if the flag is set, false otherwise.
pad_template
This method returns the Gst::PadTemplate object of this pad.
provides_event_masks?
Checks if the pad supports event masks not handled by the default event masks dispatcher.
  • Returns: true if supported, false otherwise.
provides_formats?
Checks if the pad supports formats not handled by the default format dispatcher.
  • Returns: true if supported, false otherwise.
provides_query_types?
Checks if the pad supports query types not handled by the default query types dispatcher.
  • Returns: true if supported, false otherwise.
query(query_type, format=Gst::Format::DEFAULT)
Performs a query on the pad.
  • format: a format (see GstFormat).
  • query_type: a query type (see GstQueryType).
  • Returns: the query result value, or nil if the query could not be performed.
query_types
Gets a list of supported queries that can be performed on the pad.
send_event(event)
Sends an event to the pad, through a Gst::Event object.
  • event: a Gst::Event.
  • Returns: true if the request event was successfully handled, false otherwise.
unlink(other_pad)
Unlinks the current pad (source) from an other pad (sink).

See Also

Gst.

- lrz?

更新日時:2005/03/05 07:35:39
キーワード:
参照:[Gst::PadTemplate] [Gst::Object] [Gst::Scheduler] [Gst::Pad] [Gst::Element]