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:
Sebastian Dröge 2014-10-20 15:31:29 +02:00
parent 7c247ab166
commit 6129d1bd18

View file

@ -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 *