mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
overlaycomposition: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
29b8a64b7e
commit
2917f9fb2d
1 changed files with 3 additions and 19 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue