mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
testsrcbin: Do not use G_DECLARE_ as it requires GLib 2.44
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=795382
This commit is contained in:
parent
4984af5917
commit
5bc368124a
1 changed files with 14 additions and 2 deletions
|
@ -52,8 +52,20 @@ static GstStaticPadTemplate audio_src_template =
|
||||||
GST_PAD_SOMETIMES,
|
GST_PAD_SOMETIMES,
|
||||||
GST_STATIC_CAPS ("audio/x-raw(ANY);"));
|
GST_STATIC_CAPS ("audio/x-raw(ANY);"));
|
||||||
|
|
||||||
G_DECLARE_FINAL_TYPE (GstTestSrcBin, gst_test_src_bin, GST, TEST_SRC_BIN,
|
#define GST_TYPE_TEST_SRC_BIN gst_test_src_bin_get_type()
|
||||||
GstBin);
|
#define GST_TEST_SRC_BIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GST_TYPE_TEST_SRC_BIN, GstTestSrcBin))
|
||||||
|
|
||||||
|
typedef struct _GstTestSrcBin GstTestSrcBin;
|
||||||
|
typedef struct _GstTestSrcBinClass GstTestSrcBinClass;
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
|
GType gst_test_src_bin_get_type (void) G_GNUC_CONST;
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
|
struct _GstTestSrcBinClass
|
||||||
|
{
|
||||||
|
GstBinClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
struct _GstTestSrcBin
|
struct _GstTestSrcBin
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue