overlaycomposition: Use G_DECLARE_FINAL_TYPE

This commit is contained in:
Niels De Graef 2020-03-12 13:20:31 +01:00 committed by GStreamer Merge Bot
parent 29b8a64b7e
commit 2917f9fb2d

View file

@ -25,19 +25,9 @@
G_BEGIN_DECLS
#define GST_TYPE_OVERLAY_COMPOSITION \
(gst_overlay_composition_get_type())
#define GST_OVERLAY_COMPOSITION(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OVERLAY_COMPOSITION,GstOverlayComposition))
#define GST_OVERLAY_COMPOSITION_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OVERLAY_COMPOSITION,GstOverlayCompositionClass))
#define GST_IS_OVERLAY_COMPOSITION(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OVERLAY_COMPOSITION))
#define GST_IS_OVERLAY_COMPOSITION_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OVERLAY_COMPOSITION))
typedef struct _GstOverlayComposition GstOverlayComposition;
typedef struct _GstOverlayCompositionClass GstOverlayCompositionClass;
#define GST_TYPE_OVERLAY_COMPOSITION (gst_overlay_composition_get_type())
G_DECLARE_FINAL_TYPE (GstOverlayComposition, gst_overlay_composition,
GST, OVERLAY_COMPOSITION, GstElement)
struct _GstOverlayComposition {
GstElement parent;
@ -53,12 +43,6 @@ struct _GstOverlayComposition {
gboolean attach_compo_to_buffer;
};
struct _GstOverlayCompositionClass {
GstElementClass parent_class;
};
GType gst_overlay_composition_get_type (void);
G_END_DECLS
#endif /* __GST_OVERLAY_COMPOSITION_H__ */