mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
videotestsrc: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
1dd63e44b9
commit
e5cc81a128
1 changed files with 3 additions and 19 deletions
|
@ -29,16 +29,9 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_TYPE_VIDEO_TEST_SRC \
|
#define GST_TYPE_VIDEO_TEST_SRC (gst_video_test_src_get_type())
|
||||||
(gst_video_test_src_get_type())
|
G_DECLARE_FINAL_TYPE (GstVideoTestSrc, gst_video_test_src, GST, VIDEO_TEST_SRC,
|
||||||
#define GST_VIDEO_TEST_SRC(obj) \
|
GstPushSrc)
|
||||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_TEST_SRC,GstVideoTestSrc))
|
|
||||||
#define GST_VIDEO_TEST_SRC_CLASS(klass) \
|
|
||||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_TEST_SRC,GstVideoTestSrcClass))
|
|
||||||
#define GST_IS_VIDEO_TEST_SRC(obj) \
|
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_TEST_SRC))
|
|
||||||
#define GST_IS_VIDEO_TEST_SRC_CLASS(klass) \
|
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_TEST_SRC))
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstVideoTestSrcPattern:
|
* GstVideoTestSrcPattern:
|
||||||
|
@ -129,9 +122,6 @@ typedef enum {
|
||||||
GST_VIDEO_TEST_SRC_HSWEEP
|
GST_VIDEO_TEST_SRC_HSWEEP
|
||||||
} GstVideoTestSrcMotionType;
|
} GstVideoTestSrcMotionType;
|
||||||
|
|
||||||
typedef struct _GstVideoTestSrc GstVideoTestSrc;
|
|
||||||
typedef struct _GstVideoTestSrcClass GstVideoTestSrcClass;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstVideoTestSrc:
|
* GstVideoTestSrc:
|
||||||
*
|
*
|
||||||
|
@ -208,12 +198,6 @@ struct _GstVideoTestSrc {
|
||||||
gpointer *lines;
|
gpointer *lines;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstVideoTestSrcClass {
|
|
||||||
GstPushSrcClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gst_video_test_src_get_type (void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GST_VIDEO_TEST_SRC_H__ */
|
#endif /* __GST_VIDEO_TEST_SRC_H__ */
|
||||||
|
|
Loading…
Reference in a new issue