* This function blocks until a preroll sample or EOS is received or the appsink
* element is set to the READY/NULL state.
*
- * Returns: a #GstSample or NULL when the appsink is stopped or EOS.
+ * Returns: (nullable): a #GstSample or NULL when the appsink is stopped or EOS.
*/
gst_app_sink_signals[SIGNAL_PULL_PREROLL] =
g_signal_new ("pull-preroll", G_TYPE_FROM_CLASS (klass),
* 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 #GstSample or NULL when the appsink is stopped or EOS.
+ * Returns: (nullable): a #GstSample or NULL when the appsink is stopped or EOS.
*/
gst_app_sink_signals[SIGNAL_PULL_SAMPLE] =
g_signal_new ("pull-sample", G_TYPE_FROM_CLASS (klass),
* 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: a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
+ * Returns: (nullable): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
*
* Since: 1.10
*/
* this function returns %NULL. Use gst_app_sink_is_eos () to check
* for the EOS condition.
*
- * Returns: a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
+ * Returns: (nullable): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
*
* Since: 1.10
*/
* Note that future releases may extend this API to return other object types
* so make sure that your code is checking for the actual type it is handling.
*
- * Returns: (transfer full): a #GstSample or a #GstEvent or NULL when the appsink is stopped or EOS or the timeout expires.
+ * Returns: (nullable) (transfer full): a #GstSample or a #GstEvent or NULL when the appsink is stopped or EOS or the timeout expires.
*
* Since: 1.20
*/
*
* Get the configured caps on @appsink.
*
- * Returns: the #GstCaps accepted by the sink. gst_caps_unref() after usage.
+ * Returns: (nullable) (transfer full): the #GstCaps accepted by the sink. gst_caps_unref() after usage.
*/
GstCaps *
gst_app_sink_get_caps (GstAppSink * appsink)
* Note that future releases may extend this API to return other object types
* so make sure that your code is checking for the actual type it is handling.
*
- * Returns: (transfer full): a #GstSample, or a #GstEvent or NULL when the appsink is stopped or EOS.
+ * Returns: (transfer full) (nullable): a #GstSample, or a #GstEvent or NULL when the appsink is stopped or EOS.
* Call gst_mini_object_unref() after usage.
*
* Since: 1.20
* Note that future releases may extend this API to return other object types
* so make sure that your code is checking for the actual type it is handling.
*
- * Returns: (transfer full): a #GstSample, or #GstEvent or NULL when the appsink is stopped or EOS or the timeout expires.
+ * Returns: (transfer full) (nullable): a #GstSample, or #GstEvent or NULL when the appsink is stopped or EOS or the timeout expires.
* Call gst_mini_object_unref() after usage.
*
* Since: 1.20