which docs is valid?

Farkas Levente lfarkas at lfarkas.org
Fri Sep 16 11:12:24 PDT 2011


On 09/16/2011 07:54 PM, Tim-Philipp Müller wrote:
> 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.

ok so which one should have to used by appsink users?

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the gstreamer-devel mailing list