mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
cogl-gst: Move the PARAM macros into the C file
These are just internal convenience macros to define the GObject properties so they shouldn't be in the public headers. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit b7b861aa87ad05a2c253afdd87323acd82fd988f)
This commit is contained in:
parent
5f86563c86
commit
735bf63063
@ -58,6 +58,18 @@
|
|||||||
|
|
||||||
#define SINK_CAPS GST_VIDEO_CAPS_MAKE (BASE_SINK_CAPS)
|
#define SINK_CAPS GST_VIDEO_CAPS_MAKE (BASE_SINK_CAPS)
|
||||||
|
|
||||||
|
#define COGL_GST_PARAM_STATIC \
|
||||||
|
(G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
|
||||||
|
|
||||||
|
#define COGL_GST_PARAM_READABLE \
|
||||||
|
(G_PARAM_READABLE | COGL_GST_PARAM_STATIC)
|
||||||
|
|
||||||
|
#define COGL_GST_PARAM_WRITABLE \
|
||||||
|
(G_PARAM_WRITABLE | COGL_GST_PARAM_STATIC)
|
||||||
|
|
||||||
|
#define COGL_GST_PARAM_READWRITE \
|
||||||
|
(G_PARAM_READABLE | G_PARAM_WRITABLE | COGL_GST_PARAM_STATIC)
|
||||||
|
|
||||||
static GstStaticPadTemplate sinktemplate_all =
|
static GstStaticPadTemplate sinktemplate_all =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
|
@ -101,18 +101,6 @@ G_BEGIN_DECLS
|
|||||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
||||||
COGL_GST_TYPE_VIDEO_SINK, CoglGstVideoSinkClass))
|
COGL_GST_TYPE_VIDEO_SINK, CoglGstVideoSinkClass))
|
||||||
|
|
||||||
#define COGL_GST_PARAM_STATIC \
|
|
||||||
(G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
|
|
||||||
|
|
||||||
#define COGL_GST_PARAM_READABLE \
|
|
||||||
(G_PARAM_READABLE | COGL_GST_PARAM_STATIC)
|
|
||||||
|
|
||||||
#define COGL_GST_PARAM_WRITABLE \
|
|
||||||
(G_PARAM_WRITABLE | COGL_GST_PARAM_STATIC)
|
|
||||||
|
|
||||||
#define COGL_GST_PARAM_READWRITE \
|
|
||||||
(G_PARAM_READABLE | G_PARAM_WRITABLE | COGL_GST_PARAM_STATIC)
|
|
||||||
|
|
||||||
typedef struct _CoglGstVideoSink CoglGstVideoSink;
|
typedef struct _CoglGstVideoSink CoglGstVideoSink;
|
||||||
typedef struct _CoglGstVideoSinkClass CoglGstVideoSinkClass;
|
typedef struct _CoglGstVideoSinkClass CoglGstVideoSinkClass;
|
||||||
typedef struct _CoglGstVideoSinkPrivate CoglGstVideoSinkPrivate;
|
typedef struct _CoglGstVideoSinkPrivate CoglGstVideoSinkPrivate;
|
||||||
|
Loading…
Reference in New Issue
Block a user