mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
appsink: Fix gst_app_sink_pull() docs to transfer full for the return value
Also we get a GstSample, not a GstBuffer here.
This commit is contained in:
parent
7c247ab166
commit
6129d1bd18
1 changed files with 4 additions and 2 deletions
|
@ -1093,7 +1093,8 @@ gst_app_sink_get_drop (GstAppSink * appsink)
|
|||
* This function blocks until a preroll sample or EOS is received or the appsink
|
||||
* element is set to the READY/NULL state.
|
||||
*
|
||||
* Returns: a #GstBuffer or NULL when the appsink is stopped or EOS.
|
||||
* Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS.
|
||||
* Call gst_sample_unref() after usage.
|
||||
*/
|
||||
GstSample *
|
||||
gst_app_sink_pull_preroll (GstAppSink * appsink)
|
||||
|
@ -1161,7 +1162,8 @@ not_started:
|
|||
* If an EOS event was received before any buffers, this function returns
|
||||
* %NULL. Use gst_app_sink_is_eos () to check for the EOS condition.
|
||||
*
|
||||
* Returns: a #GstBuffer or NULL when the appsink is stopped or EOS.
|
||||
* Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS.
|
||||
* Call gst_sample_unref() after usage.
|
||||
*/
|
||||
|
||||
GstSample *
|
||||
|
|
Loading…
Reference in a new issue