mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate: Mark symbols explicitly for export with GST_EXPORT
With an exception: * gst_validate_monitor_setup which was never declared in headers and should always have been static.
This commit is contained in:
parent
823c9ca834
commit
74a560163a
20 changed files with 160 additions and 17 deletions
|
@ -73,8 +73,10 @@ struct _GstValidateBinMonitorClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* normal GObject stuff */
|
/* normal GObject stuff */
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_bin_monitor_get_type (void);
|
GType gst_validate_bin_monitor_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateBinMonitor * gst_validate_bin_monitor_new (GstBin * bin, GstValidateRunner * runner, GstValidateMonitor * parent);
|
GstValidateBinMonitor * gst_validate_bin_monitor_new (GstBin * bin, GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -77,8 +77,10 @@ struct _GstValidateElementMonitorClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* normal GObject stuff */
|
/* normal GObject stuff */
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_element_monitor_get_type (void);
|
GType gst_validate_element_monitor_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateElementMonitor * gst_validate_element_monitor_new (GstElement * element, GstValidateRunner * runner, GstValidateMonitor * parent);
|
GstValidateElementMonitor * gst_validate_element_monitor_new (GstElement * element, GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -61,17 +61,25 @@ struct _GstValidateMediaInfo {
|
||||||
GstValidateStreamInfo *stream_info;
|
GstValidateStreamInfo *stream_info;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_media_info_init (GstValidateMediaInfo * mi);
|
void gst_validate_media_info_init (GstValidateMediaInfo * mi);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_media_info_clear (GstValidateMediaInfo * mi);
|
void gst_validate_media_info_clear (GstValidateMediaInfo * mi);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_media_info_free (GstValidateMediaInfo * mi);
|
void gst_validate_media_info_free (GstValidateMediaInfo * mi);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gchar * gst_validate_media_info_to_string (GstValidateMediaInfo * mi, gsize * length);
|
gchar * gst_validate_media_info_to_string (GstValidateMediaInfo * mi, gsize * length);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_info_save (GstValidateMediaInfo * mi, const gchar * path, GError ** err);
|
gboolean gst_validate_media_info_save (GstValidateMediaInfo * mi, const gchar * path, GError ** err);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateMediaInfo * gst_validate_media_info_load (const gchar * path, GError ** err);
|
GstValidateMediaInfo * gst_validate_media_info_load (const gchar * path, GError ** err);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_info_inspect_uri (GstValidateMediaInfo * mi, const gchar * uri,
|
gboolean gst_validate_media_info_inspect_uri (GstValidateMediaInfo * mi, const gchar * uri,
|
||||||
gboolean discover_only, GError ** err);
|
gboolean discover_only, GError ** err);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_info_compare (GstValidateMediaInfo * expected, GstValidateMediaInfo * extracted);
|
gboolean gst_validate_media_info_compare (GstValidateMediaInfo * expected, GstValidateMediaInfo * extracted);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateMonitor * gst_validate_monitor_factory_create (GstObject * target, GstValidateRunner * runner, GstValidateMonitor * parent);
|
GstValidateMonitor * gst_validate_monitor_factory_create (GstObject * target, GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -58,7 +58,7 @@ gst_validate_monitor_set_property (GObject * object, guint prop_id,
|
||||||
static GObject *gst_validate_monitor_constructor (GType type,
|
static GObject *gst_validate_monitor_constructor (GType type,
|
||||||
guint n_construct_params, GObjectConstructParam * construct_params);
|
guint n_construct_params, GObjectConstructParam * construct_params);
|
||||||
|
|
||||||
gboolean gst_validate_monitor_setup (GstValidateMonitor * monitor);
|
static gboolean gst_validate_monitor_setup (GstValidateMonitor * monitor);
|
||||||
|
|
||||||
static GstValidateInterceptionReturn
|
static GstValidateInterceptionReturn
|
||||||
gst_validate_monitor_intercept_report (GstValidateReporter * reporter,
|
gst_validate_monitor_intercept_report (GstValidateReporter * reporter,
|
||||||
|
|
|
@ -116,16 +116,23 @@ struct _GstValidateMonitorClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* normal GObject stuff */
|
/* normal GObject stuff */
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_monitor_get_type (void);
|
GType gst_validate_monitor_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_monitor_attach_override (GstValidateMonitor * monitor,
|
void gst_validate_monitor_attach_override (GstValidateMonitor * monitor,
|
||||||
GstValidateOverride * override);
|
GstValidateOverride * override);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstElement * gst_validate_monitor_get_element (GstValidateMonitor * monitor);
|
GstElement * gst_validate_monitor_get_element (GstValidateMonitor * monitor);
|
||||||
|
GST_EXPORT
|
||||||
gchar * gst_validate_monitor_get_element_name (GstValidateMonitor * monitor);
|
gchar * gst_validate_monitor_get_element_name (GstValidateMonitor * monitor);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_monitor_set_media_descriptor (GstValidateMonitor * monitor,
|
void gst_validate_monitor_set_media_descriptor (GstValidateMonitor * monitor,
|
||||||
GstValidateMediaDescriptor *media_descriptor);
|
GstValidateMediaDescriptor *media_descriptor);
|
||||||
|
GST_EXPORT
|
||||||
GstPipeline * gst_validate_monitor_get_pipeline (GstValidateMonitor * monitor);
|
GstPipeline * gst_validate_monitor_get_pipeline (GstValidateMonitor * monitor);
|
||||||
|
GST_EXPORT
|
||||||
GstObject * gst_validate_monitor_get_target (GstValidateMonitor * monitor);
|
GstObject * gst_validate_monitor_get_target (GstValidateMonitor * monitor);
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -39,17 +39,23 @@ typedef struct {
|
||||||
GQueue klass_overrides;
|
GQueue klass_overrides;
|
||||||
} GstValidateOverrideRegistry;
|
} GstValidateOverrideRegistry;
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateOverrideRegistry * gst_validate_override_registry_get (void);
|
GstValidateOverrideRegistry * gst_validate_override_registry_get (void);
|
||||||
|
|
||||||
GList *
|
GST_EXPORT GList *
|
||||||
gst_validate_override_registry_get_override_for_names (GstValidateOverrideRegistry *reg,
|
gst_validate_override_registry_get_override_for_names (GstValidateOverrideRegistry *reg,
|
||||||
const gchar *name, ...);
|
const gchar *name, ...);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_register_by_name (const gchar * name, GstValidateOverride * override);
|
void gst_validate_override_register_by_name (const gchar * name, GstValidateOverride * override);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_register_by_type (GType gtype, GstValidateOverride * override);
|
void gst_validate_override_register_by_type (GType gtype, GstValidateOverride * override);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_register_by_klass (const gchar * klass, GstValidateOverride * override);
|
void gst_validate_override_register_by_klass (const gchar * klass, GstValidateOverride * override);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_registry_attach_overrides (GstValidateMonitor * monitor);
|
void gst_validate_override_registry_attach_overrides (GstValidateMonitor * monitor);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
int gst_validate_override_registry_preload (void);
|
int gst_validate_override_registry_preload (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -74,6 +74,7 @@ struct _GstValidateOverride
|
||||||
GstValidateOverridePriv *priv;
|
GstValidateOverridePriv *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_override_get_type (void) G_GNUC_CONST;
|
GType gst_validate_override_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/* TYPE MACROS */
|
/* TYPE MACROS */
|
||||||
|
@ -84,28 +85,46 @@ GType gst_validate_override_get_type (void) G_GNUC_CONST;
|
||||||
#define GST_IS_VALIDATE_OVERRIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_VALIDATE_OVERRIDE))
|
#define GST_IS_VALIDATE_OVERRIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_VALIDATE_OVERRIDE))
|
||||||
#define GST_VALIDATE_OVERRIDE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VALIDATE_OVERRIDE, GstValidateOverrideClass))
|
#define GST_VALIDATE_OVERRIDE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VALIDATE_OVERRIDE, GstValidateOverrideClass))
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateOverride * gst_validate_override_new (void);
|
GstValidateOverride * gst_validate_override_new (void);
|
||||||
|
|
||||||
void gst_validate_override_free (GstValidateOverride * override);
|
void gst_validate_override_free (GstValidateOverride * override);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_change_severity (GstValidateOverride * override, GstValidateIssueId issue_id, GstValidateReportLevel new_level);
|
void gst_validate_override_change_severity (GstValidateOverride * override, GstValidateIssueId issue_id, GstValidateReportLevel new_level);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReportLevel gst_validate_override_get_severity (GstValidateOverride * override, GstValidateIssueId issue_id, GstValidateReportLevel default_level);
|
GstValidateReportLevel gst_validate_override_get_severity (GstValidateOverride * override, GstValidateIssueId issue_id, GstValidateReportLevel default_level);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_event_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstEvent * event);
|
void gst_validate_override_event_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstEvent * event);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_buffer_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstBuffer * buffer);
|
void gst_validate_override_buffer_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstBuffer * buffer);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_query_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstQuery * query);
|
void gst_validate_override_query_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstQuery * query);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_buffer_probe_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstBuffer * buffer);
|
void gst_validate_override_buffer_probe_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstBuffer * buffer);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_getcaps_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstCaps * caps);
|
void gst_validate_override_getcaps_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstCaps * caps);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_setcaps_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstCaps * caps);
|
void gst_validate_override_setcaps_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstCaps * caps);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_set_event_handler (GstValidateOverride * override, GstValidateOverrideEventHandler handler);
|
void gst_validate_override_set_event_handler (GstValidateOverride * override, GstValidateOverrideEventHandler handler);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_set_buffer_handler (GstValidateOverride * override, GstValidateOverrideBufferHandler handler);
|
void gst_validate_override_set_buffer_handler (GstValidateOverride * override, GstValidateOverrideBufferHandler handler);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_set_query_handler (GstValidateOverride * override, GstValidateOverrideQueryHandler handler);
|
void gst_validate_override_set_query_handler (GstValidateOverride * override, GstValidateOverrideQueryHandler handler);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_set_buffer_probe_handler (GstValidateOverride * override, GstValidateOverrideBufferHandler handler);
|
void gst_validate_override_set_buffer_probe_handler (GstValidateOverride * override, GstValidateOverrideBufferHandler handler);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_set_getcaps_handler (GstValidateOverride * override, GstValidateOverrideGetCapsHandler handler);
|
void gst_validate_override_set_getcaps_handler (GstValidateOverride * override, GstValidateOverrideGetCapsHandler handler);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_set_setcaps_handler (GstValidateOverride * override, GstValidateOverrideSetCapsHandler handler);
|
void gst_validate_override_set_setcaps_handler (GstValidateOverride * override, GstValidateOverrideSetCapsHandler handler);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_element_added_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstElement * child);
|
void gst_validate_override_element_added_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstElement * child);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_override_set_element_added_handler (GstValidateOverride * override, GstValidateOverrideElementAddedHandler func);
|
void gst_validate_override_set_element_added_handler (GstValidateOverride * override, GstValidateOverrideElementAddedHandler func);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_override_can_attach (GstValidateOverride * override, GstValidateMonitor *monitor);
|
gboolean gst_validate_override_can_attach (GstValidateOverride * override, GstValidateMonitor *monitor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -138,8 +138,10 @@ struct _GstValidatePadMonitorClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* normal GObject stuff */
|
/* normal GObject stuff */
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_pad_monitor_get_type (void);
|
GType gst_validate_pad_monitor_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidatePadMonitor * gst_validate_pad_monitor_new (GstPad * pad, GstValidateRunner * runner, GstValidateElementMonitor *element_monitor);
|
GstValidatePadMonitor * gst_validate_pad_monitor_new (GstPad * pad, GstValidateRunner * runner, GstValidateElementMonitor *element_monitor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -83,8 +83,10 @@ struct _GstValidatePipelineMonitorClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* normal GObject stuff */
|
/* normal GObject stuff */
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_pipeline_monitor_get_type (void);
|
GType gst_validate_pipeline_monitor_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidatePipelineMonitor * gst_validate_pipeline_monitor_new (GstPipeline * pipeline,
|
GstValidatePipelineMonitor * gst_validate_pipeline_monitor_new (GstPipeline * pipeline,
|
||||||
GstValidateRunner * runner, GstValidateMonitor * parent);
|
GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ typedef guintptr GstValidateIssueId;
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_report_get_type (void);
|
GType gst_validate_report_get_type (void);
|
||||||
#define GST_TYPE_VALIDATE_REPORT (gst_validate_report_get_type ())
|
#define GST_TYPE_VALIDATE_REPORT (gst_validate_report_get_type ())
|
||||||
|
|
||||||
|
@ -149,6 +150,7 @@ typedef struct {
|
||||||
|
|
||||||
} GstValidateIssue;
|
} GstValidateIssue;
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_issue_get_type (void);
|
GType gst_validate_issue_get_type (void);
|
||||||
|
|
||||||
struct _GstValidateReport {
|
struct _GstValidateReport {
|
||||||
|
@ -202,44 +204,69 @@ void gst_validate_report_add_message (GstValidateReport *report,
|
||||||
gst_validate_reporter_get_name (r->reporter), \
|
gst_validate_reporter_get_name (r->reporter), \
|
||||||
GST_VALIDATE_ISSUE_ARGS (r->issue), \
|
GST_VALIDATE_ISSUE_ARGS (r->issue), \
|
||||||
r->message
|
r->message
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_init (void);
|
void gst_validate_report_init (void);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateIssue *gst_validate_issue_from_id (GstValidateIssueId issue_id);
|
GstValidateIssue *gst_validate_issue_from_id (GstValidateIssueId issue_id);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateIssueId gst_validate_issue_get_id (GstValidateIssue * issue);
|
GstValidateIssueId gst_validate_issue_get_id (GstValidateIssue * issue);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_issue_register (GstValidateIssue * issue);
|
void gst_validate_issue_register (GstValidateIssue * issue);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateIssue *gst_validate_issue_new (GstValidateIssueId issue_id, const gchar * summary,
|
GstValidateIssue *gst_validate_issue_new (GstValidateIssueId issue_id, const gchar * summary,
|
||||||
const gchar * description,
|
const gchar * description,
|
||||||
GstValidateReportLevel default_level);
|
GstValidateReportLevel default_level);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_issue_set_default_level (GstValidateIssue *issue,
|
void gst_validate_issue_set_default_level (GstValidateIssue *issue,
|
||||||
GstValidateReportLevel default_level);
|
GstValidateReportLevel default_level);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReport *gst_validate_report_new (GstValidateIssue * issue,
|
GstValidateReport *gst_validate_report_new (GstValidateIssue * issue,
|
||||||
GstValidateReporter * reporter,
|
GstValidateReporter * reporter,
|
||||||
const gchar * message);
|
const gchar * message);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_unref (GstValidateReport * report);
|
void gst_validate_report_unref (GstValidateReport * report);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReport *gst_validate_report_ref (GstValidateReport * report);
|
GstValidateReport *gst_validate_report_ref (GstValidateReport * report);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateIssueId gst_validate_report_get_issue_id (GstValidateReport * report);
|
GstValidateIssueId gst_validate_report_get_issue_id (GstValidateReport * report);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_report_check_abort (GstValidateReport * report);
|
gboolean gst_validate_report_check_abort (GstValidateReport * report);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_printf (GstValidateReport * report);
|
void gst_validate_report_printf (GstValidateReport * report);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_print_level (GstValidateReport *report);
|
void gst_validate_report_print_level (GstValidateReport *report);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_print_detected_on (GstValidateReport *report);
|
void gst_validate_report_print_detected_on (GstValidateReport *report);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_print_details (GstValidateReport *report);
|
void gst_validate_report_print_details (GstValidateReport *report);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_print_description (GstValidateReport *report);
|
void gst_validate_report_print_description (GstValidateReport *report);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
const gchar * gst_validate_report_level_get_name (GstValidateReportLevel level);
|
const gchar * gst_validate_report_level_get_name (GstValidateReportLevel level);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_printf (gpointer source,
|
void gst_validate_printf (gpointer source,
|
||||||
const gchar * format,
|
const gchar * format,
|
||||||
...) G_GNUC_PRINTF (2, 3) G_GNUC_NO_INSTRUMENT;
|
...) G_GNUC_PRINTF (2, 3) G_GNUC_NO_INSTRUMENT;
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_print_action (GstValidateAction *action, const gchar * message);
|
void gst_validate_print_action (GstValidateAction *action, const gchar * message);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_printf_valist (gpointer source,
|
void gst_validate_printf_valist (gpointer source,
|
||||||
const gchar * format,
|
const gchar * format,
|
||||||
va_list args) G_GNUC_NO_INSTRUMENT;
|
va_list args) G_GNUC_NO_INSTRUMENT;
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_report_should_print (GstValidateReport * report);
|
gboolean gst_validate_report_should_print (GstValidateReport * report);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_report_set_master_report(GstValidateReport *report, GstValidateReport *master_report);
|
gboolean gst_validate_report_set_master_report(GstValidateReport *report, GstValidateReport *master_report);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_set_reporting_level (GstValidateReport *report, GstValidateReportingDetails level);
|
void gst_validate_report_set_reporting_level (GstValidateReport *report, GstValidateReportingDetails level);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_add_repeated_report (GstValidateReport *report, GstValidateReport *repeated_report);
|
void gst_validate_report_add_repeated_report (GstValidateReport *report, GstValidateReport *repeated_report);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReportLevel gst_validate_report_level_from_name (const gchar *level_name);
|
GstValidateReportLevel gst_validate_report_level_from_name (const gchar *level_name);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -64,6 +64,7 @@ G_BEGIN_DECLS
|
||||||
} G_STMT_END
|
} G_STMT_END
|
||||||
#endif /* G_HAVE_ISO_VARARGS */
|
#endif /* G_HAVE_ISO_VARARGS */
|
||||||
#endif /* G_HAVE_GNUC_VARARGS */
|
#endif /* G_HAVE_GNUC_VARARGS */
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_reporter_get_type (void);
|
GType gst_validate_reporter_get_type (void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -94,28 +95,42 @@ struct _GstValidateReporterInterface
|
||||||
GstPipeline * (*get_pipeline) (GstValidateReporter *reporter);
|
GstPipeline * (*get_pipeline) (GstValidateReporter *reporter);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_reporter_set_name (GstValidateReporter * reporter,
|
void gst_validate_reporter_set_name (GstValidateReporter * reporter,
|
||||||
gchar * name);
|
gchar * name);
|
||||||
|
GST_EXPORT
|
||||||
const gchar * gst_validate_reporter_get_name (GstValidateReporter * reporter);
|
const gchar * gst_validate_reporter_get_name (GstValidateReporter * reporter);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateRunner * gst_validate_reporter_get_runner (GstValidateReporter *reporter);
|
GstValidateRunner * gst_validate_reporter_get_runner (GstValidateReporter *reporter);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_reporter_init (GstValidateReporter * reporter, const gchar *name);
|
void gst_validate_reporter_init (GstValidateReporter * reporter, const gchar *name);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
void gst_validate_report (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
||||||
const gchar * format, ...) G_GNUC_PRINTF (3, 4) G_GNUC_NO_INSTRUMENT;
|
const gchar * format, ...) G_GNUC_PRINTF (3, 4) G_GNUC_NO_INSTRUMENT;
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_report_valist (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
void gst_validate_report_valist (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
||||||
const gchar * format, va_list var_args);
|
const gchar * format, va_list var_args);
|
||||||
void
|
GST_EXPORT void
|
||||||
gst_validate_reporter_report_simple (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
gst_validate_reporter_report_simple (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
||||||
const gchar * message);
|
const gchar * message);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_reporter_set_runner (GstValidateReporter * reporter, GstValidateRunner *runner);
|
void gst_validate_reporter_set_runner (GstValidateReporter * reporter, GstValidateRunner *runner);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_reporter_set_handle_g_logs (GstValidateReporter * reporter);
|
void gst_validate_reporter_set_handle_g_logs (GstValidateReporter * reporter);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReport * gst_validate_reporter_get_report (GstValidateReporter *reporter,
|
GstValidateReport * gst_validate_reporter_get_report (GstValidateReporter *reporter,
|
||||||
GstValidateIssueId issue_id);
|
GstValidateIssueId issue_id);
|
||||||
|
GST_EXPORT
|
||||||
GList * gst_validate_reporter_get_reports (GstValidateReporter * reporter);
|
GList * gst_validate_reporter_get_reports (GstValidateReporter * reporter);
|
||||||
|
GST_EXPORT
|
||||||
gint gst_validate_reporter_get_reports_count (GstValidateReporter *reporter);
|
gint gst_validate_reporter_get_reports_count (GstValidateReporter *reporter);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReportingDetails gst_validate_reporter_get_reporting_level (GstValidateReporter *reporter);
|
GstValidateReportingDetails gst_validate_reporter_get_reporting_level (GstValidateReporter *reporter);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_reporter_purge_reports (GstValidateReporter * reporter);
|
void gst_validate_reporter_purge_reports (GstValidateReporter * reporter);
|
||||||
|
GST_EXPORT
|
||||||
GstPipeline * gst_validate_reporter_get_pipeline (GstValidateReporter * reporter);
|
GstPipeline * gst_validate_reporter_get_pipeline (GstValidateReporter * reporter);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -71,19 +71,28 @@ struct _GstValidateRunnerClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* normal GObject stuff */
|
/* normal GObject stuff */
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_runner_get_type (void);
|
GType gst_validate_runner_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateRunner * gst_validate_runner_new (void);
|
GstValidateRunner * gst_validate_runner_new (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_runner_add_report (GstValidateRunner * runner, GstValidateReport * report);
|
void gst_validate_runner_add_report (GstValidateRunner * runner, GstValidateReport * report);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
guint gst_validate_runner_get_reports_count (GstValidateRunner * runner);
|
guint gst_validate_runner_get_reports_count (GstValidateRunner * runner);
|
||||||
|
GST_EXPORT
|
||||||
GList * gst_validate_runner_get_reports (GstValidateRunner * runner);
|
GList * gst_validate_runner_get_reports (GstValidateRunner * runner);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
int gst_validate_runner_printf (GstValidateRunner * runner);
|
int gst_validate_runner_printf (GstValidateRunner * runner);
|
||||||
|
GST_EXPORT
|
||||||
int gst_validate_runner_exit (GstValidateRunner * runner, gboolean print_result);
|
int gst_validate_runner_exit (GstValidateRunner * runner, gboolean print_result);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReportingDetails gst_validate_runner_get_default_reporting_level (GstValidateRunner *runner);
|
GstValidateReportingDetails gst_validate_runner_get_default_reporting_level (GstValidateRunner *runner);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateReportingDetails gst_validate_runner_get_reporting_level_for_name (GstValidateRunner *runner,
|
GstValidateReportingDetails gst_validate_runner_get_reporting_level_for_name (GstValidateRunner *runner,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
|
||||||
|
|
|
@ -114,12 +114,15 @@ struct _GstValidateAction
|
||||||
gpointer _gst_reserved[GST_PADDING_LARGE - 1]; /* ->priv */
|
gpointer _gst_reserved[GST_PADDING_LARGE - 1]; /* ->priv */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_action_set_done (GstValidateAction *action);
|
void gst_validate_action_set_done (GstValidateAction *action);
|
||||||
|
GST_EXPORT
|
||||||
GstValidateScenario * gst_validate_action_get_scenario (GstValidateAction *action);
|
GstValidateScenario * gst_validate_action_get_scenario (GstValidateAction *action);
|
||||||
|
|
||||||
#define GST_TYPE_VALIDATE_ACTION (gst_validate_action_get_type ())
|
#define GST_TYPE_VALIDATE_ACTION (gst_validate_action_get_type ())
|
||||||
#define GST_IS_VALIDATE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION))
|
#define GST_IS_VALIDATE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION))
|
||||||
#define GST_VALIDATE_ACTION_GET_TYPE(obj) ((GstValidateActionType*)gst_validate_get_action_type(((GstValidateAction*)obj)->type))
|
#define GST_VALIDATE_ACTION_GET_TYPE(obj) ((GstValidateActionType*)gst_validate_get_action_type(((GstValidateAction*)obj)->type))
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_action_get_type (void);
|
GType gst_validate_action_get_type (void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -192,8 +195,10 @@ struct _GstValidateActionType
|
||||||
#define GST_TYPE_VALIDATE_ACTION_TYPE (gst_validate_action_type_get_type ())
|
#define GST_TYPE_VALIDATE_ACTION_TYPE (gst_validate_action_type_get_type ())
|
||||||
#define GST_IS_VALIDATE_ACTION_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION_TYPE))
|
#define GST_IS_VALIDATE_ACTION_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION_TYPE))
|
||||||
#define GST_VALIDATE_ACTION_TYPE(obj) ((GstValidateActionType*) obj)
|
#define GST_VALIDATE_ACTION_TYPE(obj) ((GstValidateActionType*) obj)
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_action_type_get_type (void);
|
GType gst_validate_action_type_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_print_action_types (const gchar ** wanted_types, gint num_wanted_types);
|
gboolean gst_validate_print_action_types (const gchar ** wanted_types, gint num_wanted_types);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -251,20 +256,22 @@ struct _GstValidateScenario
|
||||||
gpointer _gst_reserved[GST_PADDING + 1];
|
gpointer _gst_reserved[GST_PADDING + 1];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_scenario_get_type (void);
|
GType gst_validate_scenario_get_type (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateScenario * gst_validate_scenario_factory_create (GstValidateRunner *runner,
|
GstValidateScenario * gst_validate_scenario_factory_create (GstValidateRunner *runner,
|
||||||
GstElement *pipeline,
|
GstElement *pipeline,
|
||||||
const gchar *scenario_name);
|
const gchar *scenario_name);
|
||||||
gboolean
|
GST_EXPORT gboolean
|
||||||
gst_validate_list_scenarios (gchar **scenarios,
|
gst_validate_list_scenarios (gchar **scenarios,
|
||||||
gint num_scenarios,
|
gint num_scenarios,
|
||||||
gchar * output_file);
|
gchar * output_file);
|
||||||
|
|
||||||
GstValidateActionType *
|
GST_EXPORT GstValidateActionType *
|
||||||
gst_validate_get_action_type (const gchar *type_name);
|
gst_validate_get_action_type (const gchar *type_name);
|
||||||
|
|
||||||
GstValidateActionType *
|
GST_EXPORT GstValidateActionType *
|
||||||
gst_validate_register_action_type (const gchar *type_name,
|
gst_validate_register_action_type (const gchar *type_name,
|
||||||
const gchar *implementer_namespace,
|
const gchar *implementer_namespace,
|
||||||
GstValidateExecuteAction function,
|
GstValidateExecuteAction function,
|
||||||
|
@ -272,7 +279,7 @@ gst_validate_register_action_type (const gchar *type_name,
|
||||||
const gchar *description,
|
const gchar *description,
|
||||||
GstValidateActionTypeFlags flags);
|
GstValidateActionTypeFlags flags);
|
||||||
|
|
||||||
GstValidateActionType *
|
GST_EXPORT GstValidateActionType *
|
||||||
gst_validate_register_action_type_dynamic (GstPlugin *plugin,
|
gst_validate_register_action_type_dynamic (GstPlugin *plugin,
|
||||||
const gchar * type_name,
|
const gchar * type_name,
|
||||||
GstRank rank,
|
GstRank rank,
|
||||||
|
@ -282,12 +289,13 @@ gst_validate_register_action_type_dynamic (GstPlugin *plugin,
|
||||||
GstValidateActionTypeFlags flags);
|
GstValidateActionTypeFlags flags);
|
||||||
|
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_action_get_clocktime (GstValidateScenario * scenario,
|
gboolean gst_validate_action_get_clocktime (GstValidateScenario * scenario,
|
||||||
GstValidateAction *action,
|
GstValidateAction *action,
|
||||||
const gchar * name,
|
const gchar * name,
|
||||||
GstClockTime * retval);
|
GstClockTime * retval);
|
||||||
|
|
||||||
GstValidateExecuteActionReturn
|
GST_EXPORT GstValidateExecuteActionReturn
|
||||||
gst_validate_scenario_execute_seek (GstValidateScenario *scenario,
|
gst_validate_scenario_execute_seek (GstValidateScenario *scenario,
|
||||||
GstValidateAction *action,
|
GstValidateAction *action,
|
||||||
gdouble rate,
|
gdouble rate,
|
||||||
|
@ -298,18 +306,19 @@ gst_validate_scenario_execute_seek (GstValidateScenario *scenario,
|
||||||
GstSeekType stop_type,
|
GstSeekType stop_type,
|
||||||
GstClockTime stop);
|
GstClockTime stop);
|
||||||
|
|
||||||
GList *
|
GST_EXPORT GList *
|
||||||
gst_validate_scenario_get_actions (GstValidateScenario *scenario);
|
gst_validate_scenario_get_actions (GstValidateScenario *scenario);
|
||||||
GstValidateExecuteActionReturn
|
GST_EXPORT GstValidateExecuteActionReturn
|
||||||
gst_validate_execute_action (GstValidateActionType * action_type,
|
gst_validate_execute_action (GstValidateActionType * action_type,
|
||||||
GstValidateAction * action);
|
GstValidateAction * action);
|
||||||
|
|
||||||
GstState
|
GST_EXPORT GstState
|
||||||
gst_validate_scenario_get_target_state (GstValidateScenario *scenario);
|
gst_validate_scenario_get_target_state (GstValidateScenario *scenario);
|
||||||
|
|
||||||
GstElement *
|
GST_EXPORT GstElement *
|
||||||
gst_validate_scenario_get_pipeline (GstValidateScenario * scenario);
|
gst_validate_scenario_get_pipeline (GstValidateScenario * scenario);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_scenario_deinit (void);
|
void gst_validate_scenario_deinit (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -34,22 +34,30 @@
|
||||||
typedef int (*GstValidateParseVariableFunc) (const gchar *name,
|
typedef int (*GstValidateParseVariableFunc) (const gchar *name,
|
||||||
double *value, gpointer user_data);
|
double *value, gpointer user_data);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gdouble gst_validate_utils_parse_expression (const gchar *expr,
|
gdouble gst_validate_utils_parse_expression (const gchar *expr,
|
||||||
GstValidateParseVariableFunc variable_func,
|
GstValidateParseVariableFunc variable_func,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
gchar **error);
|
gchar **error);
|
||||||
|
GST_EXPORT
|
||||||
guint gst_validate_utils_flags_from_str (GType type, const gchar * str_flags);
|
guint gst_validate_utils_flags_from_str (GType type, const gchar * str_flags);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_utils_enum_from_str (GType type,
|
gboolean gst_validate_utils_enum_from_str (GType type,
|
||||||
const gchar * str_enum,
|
const gchar * str_enum,
|
||||||
guint * enum_value);
|
guint * enum_value);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GList * gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file);
|
GList * gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file);
|
||||||
|
GST_EXPORT
|
||||||
GList * gst_validate_structs_parse_from_gfile (GFile * scenario_file);
|
GList * gst_validate_structs_parse_from_gfile (GFile * scenario_file);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_element_has_klass (GstElement * element, const gchar * klass);
|
gboolean gst_validate_element_has_klass (GstElement * element, const gchar * klass);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_utils_get_clocktime (GstStructure *structure, const gchar * name,
|
gboolean gst_validate_utils_get_clocktime (GstStructure *structure, const gchar * name,
|
||||||
GstClockTime * retval);
|
GstClockTime * retval);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateActionReturn gst_validate_object_set_property (GstValidateReporter * reporter,
|
GstValidateActionReturn gst_validate_object_set_property (GstValidateReporter * reporter,
|
||||||
GObject * object,
|
GObject * object,
|
||||||
const gchar * property,
|
const gchar * property,
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_media_descriptor_parser_get_type (void);
|
GType gst_validate_media_descriptor_parser_get_type (void);
|
||||||
|
|
||||||
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR_PARSER (gst_validate_media_descriptor_parser_get_type ())
|
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR_PARSER (gst_validate_media_descriptor_parser_get_type ())
|
||||||
|
@ -54,19 +55,25 @@ typedef struct {
|
||||||
|
|
||||||
} GstValidateMediaDescriptorParserClass;
|
} GstValidateMediaDescriptorParserClass;
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateMediaDescriptorParser * gst_validate_media_descriptor_parser_new (GstValidateRunner *runner,
|
GstValidateMediaDescriptorParser * gst_validate_media_descriptor_parser_new (GstValidateRunner *runner,
|
||||||
const gchar * xmlpath,
|
const gchar * xmlpath,
|
||||||
GError **error);
|
GError **error);
|
||||||
GstValidateMediaDescriptorParser *
|
GST_EXPORT GstValidateMediaDescriptorParser *
|
||||||
gst_validate_media_descriptor_parser_new_from_xml (GstValidateRunner * runner,
|
gst_validate_media_descriptor_parser_new_from_xml (GstValidateRunner * runner,
|
||||||
const gchar * xml,
|
const gchar * xml,
|
||||||
GError ** error);
|
GError ** error);
|
||||||
|
GST_EXPORT
|
||||||
gchar * gst_validate_media_descriptor_parser_get_xml_path (GstValidateMediaDescriptorParser *parser);
|
gchar * gst_validate_media_descriptor_parser_get_xml_path (GstValidateMediaDescriptorParser *parser);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_parser_add_stream (GstValidateMediaDescriptorParser *parser,
|
gboolean gst_validate_media_descriptor_parser_add_stream (GstValidateMediaDescriptorParser *parser,
|
||||||
GstPad *pad);
|
GstPad *pad);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_parser_add_taglist (GstValidateMediaDescriptorParser *parser,
|
gboolean gst_validate_media_descriptor_parser_add_taglist (GstValidateMediaDescriptorParser *parser,
|
||||||
GstTagList *taglist);
|
GstTagList *taglist);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_parser_all_stream_found (GstValidateMediaDescriptorParser *parser);
|
gboolean gst_validate_media_descriptor_parser_all_stream_found (GstValidateMediaDescriptorParser *parser);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_parser_all_tags_found (GstValidateMediaDescriptorParser *parser);
|
gboolean gst_validate_media_descriptor_parser_all_tags_found (GstValidateMediaDescriptorParser *parser);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_media_descriptor_writer_get_type (void);
|
GType gst_validate_media_descriptor_writer_get_type (void);
|
||||||
|
|
||||||
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR_WRITER (gst_validate_media_descriptor_writer_get_type ())
|
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR_WRITER (gst_validate_media_descriptor_writer_get_type ())
|
||||||
|
@ -55,12 +56,14 @@ typedef struct {
|
||||||
|
|
||||||
} GstValidateMediaDescriptorWriterClass;
|
} GstValidateMediaDescriptorWriterClass;
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateMediaDescriptorWriter * gst_validate_media_descriptor_writer_new_discover (GstValidateRunner *runner,
|
GstValidateMediaDescriptorWriter * gst_validate_media_descriptor_writer_new_discover (GstValidateRunner *runner,
|
||||||
const gchar *uri,
|
const gchar *uri,
|
||||||
gboolean full,
|
gboolean full,
|
||||||
gboolean handle_g_logs,
|
gboolean handle_g_logs,
|
||||||
GError **err);
|
GError **err);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GstValidateMediaDescriptorWriter * gst_validate_media_descriptor_writer_new (GstValidateRunner *runner,
|
GstValidateMediaDescriptorWriter * gst_validate_media_descriptor_writer_new (GstValidateRunner *runner,
|
||||||
const gchar *location,
|
const gchar *location,
|
||||||
GstClockTime duration,
|
GstClockTime duration,
|
||||||
|
@ -72,18 +75,24 @@ gboolean gst_validate_media_descriptor_writer_detects_frames (GstValidateMed
|
||||||
GstClockTime gst_validate_media_descriptor_writer_get_duration (GstValidateMediaDescriptorWriter *writer);
|
GstClockTime gst_validate_media_descriptor_writer_get_duration (GstValidateMediaDescriptorWriter *writer);
|
||||||
gboolean gst_validate_media_descriptor_writer_get_seekable (GstValidateMediaDescriptorWriter * writer);
|
gboolean gst_validate_media_descriptor_writer_get_seekable (GstValidateMediaDescriptorWriter * writer);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_writer_add_pad (GstValidateMediaDescriptorWriter *writer,
|
gboolean gst_validate_media_descriptor_writer_add_pad (GstValidateMediaDescriptorWriter *writer,
|
||||||
GstPad *pad);
|
GstPad *pad);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_writer_add_taglist (GstValidateMediaDescriptorWriter *writer,
|
gboolean gst_validate_media_descriptor_writer_add_taglist (GstValidateMediaDescriptorWriter *writer,
|
||||||
const GstTagList *taglist);
|
const GstTagList *taglist);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_writer_add_frame (GstValidateMediaDescriptorWriter *writer,
|
gboolean gst_validate_media_descriptor_writer_add_frame (GstValidateMediaDescriptorWriter *writer,
|
||||||
GstPad *pad,
|
GstPad *pad,
|
||||||
GstBuffer *buf);
|
GstBuffer *buf);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_writer_add_tags (GstValidateMediaDescriptorWriter *writer,
|
gboolean gst_validate_media_descriptor_writer_add_tags (GstValidateMediaDescriptorWriter *writer,
|
||||||
const gchar *stream_id,
|
const gchar *stream_id,
|
||||||
const GstTagList *taglist);
|
const GstTagList *taglist);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_writer_write (GstValidateMediaDescriptorWriter * writer,
|
gboolean gst_validate_media_descriptor_writer_write (GstValidateMediaDescriptorWriter * writer,
|
||||||
const gchar * filename);
|
const gchar * filename);
|
||||||
|
GST_EXPORT
|
||||||
gchar * gst_validate_media_descriptor_writer_serialize (GstValidateMediaDescriptorWriter *writer);
|
gchar * gst_validate_media_descriptor_writer_serialize (GstValidateMediaDescriptorWriter *writer);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -112,11 +112,14 @@ typedef struct
|
||||||
gchar *str_close;
|
gchar *str_close;
|
||||||
} GstValidateMediaFrameNode;
|
} GstValidateMediaFrameNode;
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_filenode_free (GstValidateMediaFileNode *
|
void gst_validate_filenode_free (GstValidateMediaFileNode *
|
||||||
filenode);
|
filenode);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_tag_node_compare (GstValidateMediaTagNode *
|
gboolean gst_validate_tag_node_compare (GstValidateMediaTagNode *
|
||||||
tnode, const GstTagList * tlist);
|
tnode, const GstTagList * tlist);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
GType gst_validate_media_descriptor_get_type (void);
|
GType gst_validate_media_descriptor_get_type (void);
|
||||||
|
|
||||||
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR (gst_validate_media_descriptor_get_type ())
|
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR (gst_validate_media_descriptor_get_type ())
|
||||||
|
@ -150,20 +153,24 @@ typedef struct
|
||||||
|
|
||||||
} GstValidateMediaDescriptorClass;
|
} GstValidateMediaDescriptorClass;
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptors_compare (GstValidateMediaDescriptor *
|
gboolean gst_validate_media_descriptors_compare (GstValidateMediaDescriptor *
|
||||||
ref, GstValidateMediaDescriptor * compared);
|
ref, GstValidateMediaDescriptor * compared);
|
||||||
gboolean
|
GST_EXPORT gboolean
|
||||||
gst_validate_media_descriptor_detects_frames (GstValidateMediaDescriptor *
|
gst_validate_media_descriptor_detects_frames (GstValidateMediaDescriptor *
|
||||||
self);
|
self);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_get_buffers (GstValidateMediaDescriptor *
|
gboolean gst_validate_media_descriptor_get_buffers (GstValidateMediaDescriptor *
|
||||||
self, GstPad * pad, GCompareFunc compare_func, GList ** bufs);
|
self, GstPad * pad, GCompareFunc compare_func, GList ** bufs);
|
||||||
gboolean
|
GST_EXPORT gboolean
|
||||||
gst_validate_media_descriptor_has_frame_info (GstValidateMediaDescriptor *
|
gst_validate_media_descriptor_has_frame_info (GstValidateMediaDescriptor *
|
||||||
self);
|
self);
|
||||||
GstClockTime
|
GST_EXPORT GstClockTime
|
||||||
gst_validate_media_descriptor_get_duration (GstValidateMediaDescriptor * self);
|
gst_validate_media_descriptor_get_duration (GstValidateMediaDescriptor * self);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_media_descriptor_get_seekable (GstValidateMediaDescriptor
|
gboolean gst_validate_media_descriptor_get_seekable (GstValidateMediaDescriptor
|
||||||
* self);
|
* self);
|
||||||
|
GST_EXPORT
|
||||||
GList *gst_validate_media_descriptor_get_pads (GstValidateMediaDescriptor *
|
GList *gst_validate_media_descriptor_get_pads (GstValidateMediaDescriptor *
|
||||||
self);
|
self);
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -16,9 +16,13 @@
|
||||||
#include <gst/validate/gst-validate-reporter.h>
|
#include <gst/validate/gst-validate-reporter.h>
|
||||||
#include <gst/validate/gst-validate-media-info.h>
|
#include <gst/validate/gst-validate-media-info.h>
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_init (void);
|
void gst_validate_init (void);
|
||||||
|
GST_EXPORT
|
||||||
void gst_validate_deinit (void);
|
void gst_validate_deinit (void);
|
||||||
|
GST_EXPORT
|
||||||
GList * gst_validate_plugin_get_config (GstPlugin * plugin);
|
GList * gst_validate_plugin_get_config (GstPlugin * plugin);
|
||||||
|
GST_EXPORT
|
||||||
gboolean gst_validate_is_initialized (void);
|
gboolean gst_validate_is_initialized (void);
|
||||||
|
|
||||||
#endif /* _GST_VALIDATE_H */
|
#endif /* _GST_VALIDATE_H */
|
||||||
|
|
|
@ -66,7 +66,6 @@ EXPORTS
|
||||||
gst_validate_monitor_get_target
|
gst_validate_monitor_get_target
|
||||||
gst_validate_monitor_get_type
|
gst_validate_monitor_get_type
|
||||||
gst_validate_monitor_set_media_descriptor
|
gst_validate_monitor_set_media_descriptor
|
||||||
gst_validate_monitor_setup
|
|
||||||
gst_validate_object_set_property
|
gst_validate_object_set_property
|
||||||
gst_validate_override_buffer_handler
|
gst_validate_override_buffer_handler
|
||||||
gst_validate_override_buffer_probe_handler
|
gst_validate_override_buffer_probe_handler
|
||||||
|
|
Loading…
Reference in a new issue