diff options
Diffstat (limited to 'gst/videodrop/gstvideodrop.h')
-rw-r--r-- | gst/videodrop/gstvideodrop.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gst/videodrop/gstvideodrop.h b/gst/videodrop/gstvideodrop.h index 913c91b5..20f954a4 100644 --- a/gst/videodrop/gstvideodrop.h +++ b/gst/videodrop/gstvideodrop.h @@ -23,6 +23,7 @@ #include <gst/gst.h> G_BEGIN_DECLS + #define GST_TYPE_VIDEODROP \ (gst_videodrop_get_type()) #define GST_VIDEODROP(obj) \ @@ -33,28 +34,29 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEODROP)) #define GST_IS_VIDEODROP_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEODROP)) + typedef struct _GstVideodrop GstVideodrop; typedef struct _GstVideodropClass GstVideodropClass; -struct _GstVideodrop -{ +struct _GstVideodrop { GstElement element; GstPad *sinkpad, *srcpad; /* video state */ gboolean inited; - gfloat from_fps, to_fps; + gfloat from_fps, + to_fps; gfloat speed; guint64 pass, total, time_adjust; }; -struct _GstVideodropClass -{ +struct _GstVideodropClass { GstElementClass parent_class; }; -GType gst_videodrop_get_type (void); +GType gst_videodrop_get_type(void); G_END_DECLS + #endif /* __GST_VIDEODROP_H__ */ |