mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
gst/gsttagsetter.h: Can't cast ifaces to a class
Original commit message from CVS: * gst/gsttagsetter.h: Can't cast ifaces to a class * libs/gst/net/gstnetclientclock.h: * libs/gst/net/gstnettimeprovider.h: * plugins/elements/gstfakesink.h: * plugins/elements/gstfakesrc.h: * plugins/elements/gstfdsink.h: * plugins/elements/gstfdsrc.h: * plugins/elements/gstfilesink.h: * plugins/elements/gstfilesrc.h: * plugins/elements/gstidentity.h: * plugins/elements/gstqueue.h: * plugins/elements/gsttee.h: * plugins/indexers/gstfileindex.c: * plugins/indexers/gstmemindex.c: * tests/old/examples/plugins/example.h: Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
This commit is contained in:
parent
2893818bb3
commit
86b5887cd7
16 changed files with 36 additions and 16 deletions
21
ChangeLog
21
ChangeLog
|
@ -1,3 +1,24 @@
|
|||
2006-06-01 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/gsttagsetter.h:
|
||||
Can't cast ifaces to a class
|
||||
|
||||
* libs/gst/net/gstnetclientclock.h:
|
||||
* libs/gst/net/gstnettimeprovider.h:
|
||||
* plugins/elements/gstfakesink.h:
|
||||
* plugins/elements/gstfakesrc.h:
|
||||
* plugins/elements/gstfdsink.h:
|
||||
* plugins/elements/gstfdsrc.h:
|
||||
* plugins/elements/gstfilesink.h:
|
||||
* plugins/elements/gstfilesrc.h:
|
||||
* plugins/elements/gstidentity.h:
|
||||
* plugins/elements/gstqueue.h:
|
||||
* plugins/elements/gsttee.h:
|
||||
* plugins/indexers/gstfileindex.c:
|
||||
* plugins/indexers/gstmemindex.c:
|
||||
* tests/old/examples/plugins/example.h:
|
||||
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
|
||||
|
||||
2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* libs/gst/dataprotocol/dataprotocol.c:
|
||||
|
|
|
@ -28,7 +28,6 @@ G_BEGIN_DECLS
|
|||
|
||||
#define GST_TYPE_TAG_SETTER (gst_tag_setter_get_type ())
|
||||
#define GST_TAG_SETTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TAG_SETTER, GstTagSetter))
|
||||
#define GST_TAG_SETTER_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GST_TYPE_TAG_SETTER, GstTagSetter))
|
||||
#define GST_IS_TAG_SETTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TAG_SETTER))
|
||||
#define GST_TAG_SETTER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TAG_SETTER, GstTagSetterIFace))
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NET_CLIENT_CLOCK,GstNetClientClockClass))
|
||||
#define GST_IS_NET_CLIENT_CLOCK(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NET_CLIENT_CLOCK))
|
||||
#define GST_IS_NET_CLIENT_CLOCK_CLASS(obj) \
|
||||
#define GST_IS_NET_CLIENT_CLOCK_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NET_CLIENT_CLOCK))
|
||||
|
||||
typedef struct _GstNetClientClock GstNetClientClock;
|
||||
|
|
|
@ -40,10 +40,10 @@ G_BEGIN_DECLS
|
|||
#define GST_NET_TIME_PROVIDER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NET_TIME_PROVIDER,GstNetTimeProvider))
|
||||
#define GST_NET_TIME_PROVIDER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NET_TIME_PROVIDER,GstNetTimeProvider))
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NET_TIME_PROVIDER,GstNetTimeProviderClass))
|
||||
#define GST_IS_NET_TIME_PROVIDER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NET_TIME_PROVIDER))
|
||||
#define GST_IS_NET_TIME_PROVIDER_CLASS(obj) \
|
||||
#define GST_IS_NET_TIME_PROVIDER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NET_TIME_PROVIDER))
|
||||
|
||||
typedef struct _GstNetTimeProvider GstNetTimeProvider;
|
||||
|
|
|
@ -38,7 +38,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_FAKE_SINK,GstFakeSinkClass))
|
||||
#define GST_IS_FAKE_SINK(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FAKE_SINK))
|
||||
#define GST_IS_FAKE_SINK_CLASS(obj) \
|
||||
#define GST_IS_FAKE_SINK_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FAKE_SINK))
|
||||
|
||||
/**
|
||||
|
|
|
@ -105,7 +105,7 @@ typedef enum {
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_FAKE_SRC,GstFakeSrcClass))
|
||||
#define GST_IS_FAKE_SRC(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FAKE_SRC))
|
||||
#define GST_IS_FAKE_SRC_CLASS(obj) \
|
||||
#define GST_IS_FAKE_SRC_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FAKE_SRC))
|
||||
|
||||
typedef struct _GstFakeSrc GstFakeSrc;
|
||||
|
|
|
@ -38,7 +38,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_FD_SINK,GstFdSinkClass))
|
||||
#define GST_IS_FD_SINK(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FD_SINK))
|
||||
#define GST_IS_FD_SINK_CLASS(obj) \
|
||||
#define GST_IS_FD_SINK_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FD_SINK))
|
||||
|
||||
typedef struct _GstFdSink GstFdSink;
|
||||
|
|
|
@ -39,7 +39,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_FD_SRC,GstFdSrcClass))
|
||||
#define GST_IS_FD_SRC(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FD_SRC))
|
||||
#define GST_IS_FD_SRC_CLASS(obj) \
|
||||
#define GST_IS_FD_SRC_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FD_SRC))
|
||||
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_FILE_SINK,GstFileSinkClass))
|
||||
#define GST_IS_FILE_SINK(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FILE_SINK))
|
||||
#define GST_IS_FILE_SINK_CLASS(obj) \
|
||||
#define GST_IS_FILE_SINK_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FILE_SINK))
|
||||
|
||||
typedef struct _GstFileSink GstFileSink;
|
||||
|
|
|
@ -39,7 +39,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_FILE_SRC,GstFileSrcClass))
|
||||
#define GST_IS_FILE_SRC(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FILE_SRC))
|
||||
#define GST_IS_FILE_SRC_CLASS(obj) \
|
||||
#define GST_IS_FILE_SRC_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FILE_SRC))
|
||||
|
||||
typedef struct _GstFileSrc GstFileSrc;
|
||||
|
|
|
@ -39,7 +39,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IDENTITY,GstIdentityClass))
|
||||
#define GST_IS_IDENTITY(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IDENTITY))
|
||||
#define GST_IS_IDENTITY_CLASS(obj) \
|
||||
#define GST_IS_IDENTITY_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IDENTITY))
|
||||
|
||||
typedef struct _GstIdentity GstIdentity;
|
||||
|
|
|
@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_QUEUE,GstQueueClass))
|
||||
#define GST_IS_QUEUE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_QUEUE))
|
||||
#define GST_IS_QUEUE_CLASS(obj) \
|
||||
#define GST_IS_QUEUE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_QUEUE))
|
||||
|
||||
enum {
|
||||
|
|
|
@ -37,7 +37,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TEE,GstTeeClass))
|
||||
#define GST_IS_TEE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TEE))
|
||||
#define GST_IS_TEE_CLASS(obj) \
|
||||
#define GST_IS_TEE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TEE))
|
||||
|
||||
typedef struct _GstTee GstTee;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_FILE_INDEX, GstFileIndexClass))
|
||||
#define GST_IS_FILE_INDEX(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_FILE_INDEX))
|
||||
#define GST_IS_FILE_INDEX_CLASS(obj) \
|
||||
#define GST_IS_FILE_INDEX_CLASS(klass) \
|
||||
(GST_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_FILE_INDEX))
|
||||
|
||||
/*
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_MEM_INDEX, GstMemIndexClass))
|
||||
#define GST_IS_MEM_INDEX(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_MEM_INDEX))
|
||||
#define GST_IS_MEM_INDEX_CLASS(obj) \
|
||||
#define GST_IS_MEM_INDEX_CLASS(klass) \
|
||||
(GST_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MEM_INDEX))
|
||||
|
||||
/*
|
||||
|
|
|
@ -74,7 +74,7 @@ struct _GstExampleClass {
|
|||
* class of the correct type. */
|
||||
#define GST_IS_EXAMPLE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EXAMPLE))
|
||||
#define GST_IS_EXAMPLE_CLASS(obj) \
|
||||
#define GST_IS_EXAMPLE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EXAMPLE))
|
||||
|
||||
/* This is the only prototype needed, because it is used in the above
|
||||
|
|
Loading…
Reference in a new issue