appsrc: Clarify buffer ref semantics in signals
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 4 Apr 2022 05:16:24 +0000 (10:46 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 5 Apr 2022 14:40:21 +0000 (14:40 +0000)
commitbfe43121f1316bbcb5c3da0e3a61102f520bfa74
treeff0ec7c7feccf8442e2def306ea5a4064da22888
parent7604c7b08888487c797002ad8c141793cb3f91c1
appsrc: Clarify buffer ref semantics in signals

The documentation could be read to mean that the caller continuous to
'own' the buffer, and that there is some other mechanism to find out
when to unref it.

Clarify that "not taking ownership" here means "taking a reference",
and specify that you can unref it at any time after calling the
function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2110>
subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c