From 92732c9f24197c8ed32da7aa3fd7016b2ba69472 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 13 May 2015 12:16:57 +0200 Subject: [PATCH] validate:scenario: Add a macro to get ActionType from an Action Summary: Depends on D170 Reviewers: Mathieu_Du Differential Revision: http://phabricator.freedesktop.org/D171 --- validate/gst/validate/gst-validate-scenario.h | 1 + 1 file changed, 1 insertion(+) diff --git a/validate/gst/validate/gst-validate-scenario.h b/validate/gst/validate/gst-validate-scenario.h index 36b6f80d79..f13f2b1335 100644 --- a/validate/gst/validate/gst-validate-scenario.h +++ b/validate/gst/validate/gst-validate-scenario.h @@ -115,6 +115,7 @@ void gst_validate_action_set_done (GstValidateAction *action); #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_VALIDATE_ACTION_GET_TYPE(obj) ((GstValidateActionType*)gst_validate_get_action_type(((GstValidateAction*)obj)->type)) GType gst_validate_action_get_type (void); /**