AppSink.connectProposeAllocation

gulong connectProposeAllocation(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gst.query.Query))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gstapp.app_sink.AppSink))) && Parameters!T.length < 3)

Connect to ProposeAllocation signal.

Signal that a new propose_allocation query is available.

This signal is emitted from the streaming thread and only when the "emit-signals" property is true.

Parameters

callbacksignal callback delegate or function to connect bool callback(gst.query.Query query, gstapp.app_sink.AppSink appSink) query the allocation query (optional) appSink the instance the signal is connected to (optional) Returns
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID