mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +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
|
||||
|
||||
#define GST_TYPE_VIDEO_TEST_SRC \
|
||||
(gst_video_test_src_get_type())
|
||||
#define GST_VIDEO_TEST_SRC(obj) \
|
||||
(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))
|
||||
#define GST_TYPE_VIDEO_TEST_SRC (gst_video_test_src_get_type())
|
||||
G_DECLARE_FINAL_TYPE (GstVideoTestSrc, gst_video_test_src, GST, VIDEO_TEST_SRC,
|
||||
GstPushSrc)
|
||||
|
||||
/**
|
||||
* GstVideoTestSrcPattern:
|
||||
|
@ -129,9 +122,6 @@ typedef enum {
|
|||
GST_VIDEO_TEST_SRC_HSWEEP
|
||||
} GstVideoTestSrcMotionType;
|
||||
|
||||
typedef struct _GstVideoTestSrc GstVideoTestSrc;
|
||||
typedef struct _GstVideoTestSrcClass GstVideoTestSrcClass;
|
||||
|
||||
/**
|
||||
* GstVideoTestSrc:
|
||||
*
|
||||
|
@ -208,12 +198,6 @@ struct _GstVideoTestSrc {
|
|||
gpointer *lines;
|
||||
};
|
||||
|
||||
struct _GstVideoTestSrcClass {
|
||||
GstPushSrcClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_video_test_src_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VIDEO_TEST_SRC_H__ */
|
||||
|
|
Loading…
Reference in a new issue