Commit 13f23f81 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

cairorender: Move instance/class struct definitions to the header

parent 0b990f3f
......@@ -35,27 +35,6 @@
#include <string.h>
struct _GstCairoRender
{
GstElement parent;
GstPad *snk, *src;
/* Source */
cairo_surface_t *surface;
guint width, height;
/* Sink */
gint64 offset, duration;
gboolean png;
cairo_format_t format;
};
struct _GstCairoRenderClass
{
GstElementClass parent_class;
};
GST_DEBUG_CATEGORY_STATIC (cairo_render_debug);
#define GST_CAT_DEFAULT cairo_render_debug
......
......@@ -22,6 +22,7 @@
#define __GST_CAIRO_RENDER_H__
#include <gst/gst.h>
#include <cairo.h>
G_BEGIN_DECLS
......@@ -32,6 +33,29 @@ G_BEGIN_DECLS
typedef struct _GstCairoRender GstCairoRender;
typedef struct _GstCairoRenderClass GstCairoRenderClass;
struct _GstCairoRender
{
GstElement parent;
GstPad *snk, *src;
/* < private > */
/* Source */
cairo_surface_t *surface;
gint width, height;
/* Sink */
gint64 offset, duration;
gboolean png;
cairo_format_t format;
};
struct _GstCairoRenderClass
{
GstElementClass parent_class;
};
GType gst_cairo_render_get_type (void) G_GNUC_CONST;
G_END_DECLS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment