output-selector

output-selector — 1-to-N output stream selector

Synopsis

struct              GstOutputSelector;
enum                GstOutputSelectorPadNegotiationMode;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstOutputSelector

Properties

  "active-pad"               GstPad*               : Read / Write
  "pad-negotiation-mode"     GstOutputSelectorPadNegotiationMode  : Read / Write
  "resend-latest"            gboolean              : Read / Write

Description

Direct input stream to one out of N output pads.

Synopsis

Element Information

plugin

coreelements

author

Stefan Kost <stefan.kost@nokia.com>

class

Generic

Element Pads

name

sink

direction

sink

presence

always

details

ANY

name

src_%u

direction

source

presence

request

details

ANY

Details

struct GstOutputSelector

struct GstOutputSelector;


enum GstOutputSelectorPadNegotiationMode

typedef enum {
  GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_NONE,
  GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ALL,
  GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ACTIVE
} GstOutputSelectorPadNegotiationMode;

To what output pad the input stream should be directed.

GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_NONE

don't propagate the input stream.

GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ALL

direct input stream to all output pads.

GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ACTIVE

direct input stream to the currently active output pad as described by the "active-pad" property.

Property Details

The "active-pad" property

  "active-pad"               GstPad*               : Read / Write

Currently active src pad.


The "pad-negotiation-mode" property

  "pad-negotiation-mode"     GstOutputSelectorPadNegotiationMode  : Read / Write

The mode to be used for pad negotiation.

Default value: All


The "resend-latest" property

  "resend-latest"            gboolean              : Read / Write

Resend latest buffer after a switch to a new pad.

Default value: FALSE

See Also

GstOutputSelector, GstInputSelector