Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1810>
/**
* gst_validate_bin_monitor_new:
* @bin: (transfer none): a #GstBin to run Validate on
+ * @runner: (transfer none): a #GstValidateRunner
+ * @parent: (nullable): The parent of the new monitor
+ *
+ * Returns: (transfer full): A #GstValidateBinMonitor or NULL
*/
GstValidateBinMonitor *
gst_validate_bin_monitor_new (GstBin * bin, GstValidateRunner * runner,
/**
* gst_validate_element_monitor_new:
* @element: (transfer none): a #GstElement to run Validate on
+ * @runner: (transfer none): a #GstValidateRunner
+ * @parent: (nullable): The parent of the new monitor
+ *
+ * Returns: (transfer full): A #GstValidateElementMonitor or NULL
*/
GstValidateElementMonitor *
gst_validate_element_monitor_new (GstElement * element,
* gst_validate_monitor_get_pipeline:
* @monitor: The monitor to get the pipeline from
*
- * Returns: (transfer full): The pipeline in which @monitor
+ * Returns: (transfer full)(nullable): The pipeline in which @monitor
* target is in.
*/
GstPipeline *
* gst_validate_monitor_get_target:
* @monitor: The monitor to get the target from
*
- * Returns: (transfer full): The target object
+ * Returns: (transfer full)(nullable): The target object
*/
GstObject *
gst_validate_monitor_get_target (GstValidateMonitor * monitor)
/**
* gst_validate_pad_monitor_new:
* @pad: (transfer none): a #GstPad to run Validate on
+ * @runner: (transfer none): a #GstValidateRunner
+ * @parent: (nullable): The parent of the new monitor
+ *
+ * Returns: (transfer full): A #GstValidatePadMonitor or NULL
*/
GstValidatePadMonitor *
gst_validate_pad_monitor_new (GstPad * pad, GstValidateRunner * runner,
GType gst_validate_pad_monitor_get_type (void);
GST_VALIDATE_API
-GstValidatePadMonitor * gst_validate_pad_monitor_new (GstPad * pad, GstValidateRunner * runner, GstValidateElementMonitor *element_monitor);
+GstValidatePadMonitor * gst_validate_pad_monitor_new (GstPad * pad, GstValidateRunner * runner, GstValidateElementMonitor * parent);
G_END_DECLS
/**
* gst_validate_pipeline_monitor_new:
* @pipeline: (transfer none): a #GstPipeline to run Validate on
+ * @runner: (transfer none): a #GstValidateRunner
+ * @parent: (nullable): The parent of the new monitor
+ *
+ * Returns: (transfer full): A #GstValidatePipelineMonitor or NULL
*/
GstValidatePipelineMonitor *
gst_validate_pipeline_monitor_new (GstPipeline * pipeline,
# include "config.h"
#endif
+/**
+ * SECTION:gstvalidatereport
+ * @title: GstValidateReport
+ * @short_description: A Validate report
+ * @see_also: #GstValidateRunner
+ *
+ */
#include <stdlib.h> /* exit */
#include <stdio.h> /* fprintf */
* gst_validate_reporter_get_pipeline:
* @reporter: The reporter to get the pipeline from
*
- * Returns: (transfer full) (allow-none): The #GstPipeline
+ * Returns: (transfer full)(nullable): The #GstPipeline
*/
GstPipeline *
gst_validate_reporter_get_pipeline (GstValidateReporter * reporter)
* gst_validate_reporter_get_runner:
* @reporter: The reporter to get the runner from
*
- * Returns: (transfer full): The runner
+ * Returns: (transfer full)(nullable): The runner
*/
GstValidateRunner *
gst_validate_reporter_get_runner (GstValidateReporter * reporter)
/**
* gst_validate_runner_get_reports_count:
- * @runner: The $GstValidateRunner to get the number of reports from
+ * @runner: The #GstValidateRunner to get the number of reports from
*
* Get the number of reports present in the runner:
*
* gst_validate_runner_get_reports:
* @runner: The #GstValidateRunner
*
- * Returns: (element-type GstValidateReport) (transfer full): all the reports
+ * Returns: (element-type GstValidateReport) (transfer full): All the reports in a #GList of #GstValidateReportg
*/
GList *
gst_validate_runner_get_reports (GstValidateRunner * runner)
G_BEGIN_DECLS
-#define GST_VALIDATE_UNKNOWN_UINT64 -1
+#define GST_VALIDATE_UNKNOWN_UINT64 - 1
-#define GST_VALIDATE_UNKNOWN_BOOL -1
+#define GST_VALIDATE_UNKNOWN_BOOL - 1
typedef struct
{