AppSink.addOnNewSample

Signal that a new sample is available.

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

The new sample can be retrieved with the "pull-sample" action signal or AppSink.pullSample either from this signal callback or from any other thread.

Note that this signal is only emitted when the "emit-signals" property is set to TRUE, which it is not by default for performance reasons.

class AppSink
gulong
addOnNewSample
(,
ConnectFlags connectFlags = cast(ConnectFlags)0
)