appsrc - appsink -> only one buffer received

Tim Müller tim at centricular.com
Fri Dec 22 14:17:19 UTC 2017


On Fri, 2017-12-22 at 06:55 -0700, gst_starter wrote:

> The code not accepted in my original post. You find the complete
> example under:
> 
> http://gstreamer-devel.966125.n4.nabble.com/appsrc-appsink-gt-only-on
> e-buffer-received-td4685731.html

You're supposed to return a GstFlowReturn from the new-sample callback
function, see gst-inspect-1.0 appsink.

Try returning GST_FLOW_OK.

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list