NleObject

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──NleObject

Action Signals

commit

g_signal_emit_by_name (object, "commit", recurse, &ret);
ret = object.emit ("commit", recurse)
let ret = object.emit ("commit", recurse);

Action signal to commit all the pending changes of the composition and its children timing properties

Parameters:

object (GstElement *)

a NleObject

recurse (gboolean)

Whether to commit recursiverly into (NleComposition) children of object. This is used in case we have composition inside a nlesource composition, telling it to commit the included composition state.

Returns (gboolean)

TRUE if changes have been commited, FALSE if nothing had to be commited

Flags: Run Last / Action


Properties

active

“active” gboolean

Indicates whether this object should be used by its container.

Set to TRUE to temporarily disable this object in a nlecomposition.

Flags : Read / Write

Default value : true


caps

“caps” GstCaps *

Caps used to filter/choose the output stream.

If the controlled object produces several stream, you can set this property to choose a specific stream.

If nothing is specified then a source pad will be chosen at random.

Flags : Read / Write

Default value :

ANY

duration

“duration” gint64

The outgoing duration in nanoseconds.

Flags : Read / Write

Default value : 0


expandable

“expandable” gboolean

Indicates whether this object should expand to the full duration of its container nlecomposition.

Flags : Read / Write

Default value : false


inpoint

“inpoint” guint64

The media start position in nanoseconds.

Also called 'in-point' in video-editing, this corresponds to what position in the 'contained' object we should start outputting from.

Flags : Read / Write

Default value : 18446744073709551615


media-duration-factor

“media-duration-factor” gdouble

Indicates the relative rate caused by this object, in other words, the relation between the rate of media entering and leaving this object. I.e. if object pulls data at twice the speed it sends it (e.g. pitch tempo=2.0), this value is set to 2.0.

Flags : Read / Write

Default value : 1

deprecated :

1.18: This property is ignored since the wrapped GstElement-s themselves should internally perform any additional time translations.


priority

“priority” guint

The priority of the object in the container.

The highest priority is 0, meaning this object will be selected over any other between start and stop.

The lowest priority is G_MAXUINT32.

Objects whose priority is (-1) will be considered as 'default' objects in NleComposition and their start/stop values will be modified as to fit the whole duration of the composition.

Flags : Read / Write

Default value : 0


start

“start” guint64

The start position relative to the parent in nanoseconds.

Flags : Read / Write

Default value : 0


stop

“stop” guint64

The stop position relative to the parent in nanoseconds.

This value is computed based on the values of start and duration.

Flags : Read

Default value : 0


The results of the search are