mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
appsink: fix incorrect return nullability
This commit fixes the annoations for return nullability on several GstAppSink functions. This was causing bindings to be generated incorrectly. Fixes #914 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1203>
This commit is contained in:
parent
058f1e92b7
commit
d8a7fc0a0b
1 changed files with 5 additions and 5 deletions
|
@ -1499,7 +1499,7 @@ gst_app_sink_get_wait_on_eos (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: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS.
|
||||
* Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS.
|
||||
* Call gst_sample_unref() after usage.
|
||||
*/
|
||||
GstSample *
|
||||
|
@ -1524,7 +1524,7 @@ gst_app_sink_pull_preroll (GstAppSink * appsink)
|
|||
* 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: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS.
|
||||
* Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS.
|
||||
* Call gst_sample_unref() after usage.
|
||||
*/
|
||||
GstSample *
|
||||
|
@ -1558,7 +1558,7 @@ gst_app_sink_pull_sample (GstAppSink * appsink)
|
|||
* This function blocks until a preroll sample or EOS is received, the appsink
|
||||
* element is set to the READY/NULL state, or the timeout expires.
|
||||
*
|
||||
* Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
|
||||
* Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
|
||||
* Call gst_sample_unref() after usage.
|
||||
*
|
||||
* Since: 1.10
|
||||
|
@ -1654,8 +1654,8 @@ not_started:
|
|||
* this function returns %NULL. Use gst_app_sink_is_eos () to check for the EOS
|
||||
* condition.
|
||||
*
|
||||
* Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
|
||||
* Call gst_sample_unref() after usage.
|
||||
* Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
|
||||
* Call gst_sample_unref() after usage.
|
||||
*
|
||||
* Since: 1.10
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue