which docs is valid?

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Sep 16 10:54:02 PDT 2011


On Fri, 2011-09-16 at 19:45 +0200, Farkas Levente wrote:

> there're two docs about appsink:
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html#GstAppSinkCallbacks
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-appsink.html#GstAppSink-new-buffer
> the first one said the "new-buffer" return void while the second
> GstFlowReturn.
> which one is the right?
> the same question true for many other signal in appsink and appsrc.

Both are right. One doc is about GObject signals and their callback
functions, the other is about explicitly-installed callbacks which are
named the same, but invoked directly and not via the GObject signal
emission mechanism.

Cheers
 -Tim



More information about the gstreamer-devel mailing list