Aggregator.connectSamplesSelected

Connect to SamplesSelected signal.

Signals that the #GstAggregator subclass has selected the next set of input samples it will aggregate. Handlers may call gstbase.aggregator.Aggregator.peekNextSample at that point.

class Aggregator
ulong
connectSamplesSelected
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] == gst.segment.Segment)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] == ulong)
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
is(Parameters!T[2] == ulong)
)
)
&&
(
Parameters!T.length < 4 ||
(
ParameterStorageClassTuple!T[3] == ParameterStorageClass.none &&
is(Parameters!T[3] == ulong)
)
)
&&
(
Parameters!T.length < 5 ||
(
ParameterStorageClassTuple!T[4] == ParameterStorageClass.none &&
is(Parameters!T[4] == gst.structure.Structure)
)
)
&&
(
Parameters!T.length < 6 ||
(
ParameterStorageClassTuple!T[5] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 7
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gst.segment.Segment segment, ulong pts, ulong dts, ulong duration, gst.structure.Structure info, gstbase.aggregator.Aggregator aggregator)

segment The #GstSegment the next output buffer is part of (optional)

pts The presentation timestamp of the next output buffer (optional)

dts The decoding timestamp of the next output buffer (optional)

duration The duration of the next output buffer (optional)

info a #GstStructure containing additional information (optional)

aggregator the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID