GstAppSinkCallbacks.newSample

Called when a new sample is available. This callback is called from the streaming thread. The new sample can be retrieved with gstapp.app_sink.AppSink.pullSample either from this callback or from any other thread.

struct GstAppSinkCallbacks
extern (C)
GstFlowReturn function(GstAppSink* appsink, void* userData) newSample;