diff --git a/docs/plugins/gstreamer-plugins-sections.txt b/docs/plugins/gstreamer-plugins-sections.txt index bffa037e4d..0f7358693c 100644 --- a/docs/plugins/gstreamer-plugins-sections.txt +++ b/docs/plugins/gstreamer-plugins-sections.txt @@ -4,13 +4,14 @@ GstCapsFilter GstCapsFilterClass -GST_CAPSFILTER -GST_IS_CAPSFILTER -GST_TYPE_CAPSFILTER -GST_CAPSFILTER_CLASS -GST_IS_CAPSFILTER_CLASS +GST_CAPS_FILTER +GST_CAPS_FILTER_CAST +GST_IS_CAPS_FILTER +GST_CAPS_FILTER_CLASS +GST_IS_CAPS_FILTER_CLASS +GST_TYPE_CAPS_FILTER -gst_capsfilter_get_type +gst_caps_filter_get_type
diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c index 50fe8ac924..0035c4737f 100644 --- a/plugins/elements/gstcapsfilter.c +++ b/plugins/elements/gstcapsfilter.c @@ -175,7 +175,7 @@ static void gst_capsfilter_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - GstCapsFilter *capsfilter = GST_CAPSFILTER (object); + GstCapsFilter *capsfilter = GST_CAPS_FILTER (object); switch (prop_id) { case PROP_FILTER_CAPS:{ @@ -226,7 +226,7 @@ static void gst_capsfilter_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - GstCapsFilter *capsfilter = GST_CAPSFILTER (object); + GstCapsFilter *capsfilter = GST_CAPS_FILTER (object); switch (prop_id) { case PROP_FILTER_CAPS: @@ -246,7 +246,7 @@ gst_capsfilter_get_property (GObject * object, guint prop_id, GValue * value, static void gst_capsfilter_dispose (GObject * object) { - GstCapsFilter *filter = GST_CAPSFILTER (object); + GstCapsFilter *filter = GST_CAPS_FILTER (object); gst_caps_replace (&filter->filter_caps, NULL); g_list_free_full (filter->pending_events, (GDestroyNotify) gst_event_unref); @@ -259,7 +259,7 @@ static GstCaps * gst_capsfilter_transform_caps (GstBaseTransform * base, GstPadDirection direction, GstCaps * caps, GstCaps * filter) { - GstCapsFilter *capsfilter = GST_CAPSFILTER (base); + GstCapsFilter *capsfilter = GST_CAPS_FILTER (base); GstCaps *ret, *filter_caps, *tmp; gboolean retried = FALSE; GstCapsFilterCapsChangeMode caps_change_mode; @@ -314,7 +314,7 @@ static gboolean gst_capsfilter_accept_caps (GstBaseTransform * base, GstPadDirection direction, GstCaps * caps) { - GstCapsFilter *capsfilter = GST_CAPSFILTER (base); + GstCapsFilter *capsfilter = GST_CAPS_FILTER (base); GstCaps *filter_caps; gboolean ret; @@ -397,7 +397,7 @@ gst_capsfilter_prepare_buf (GstBaseTransform * trans, GstBuffer * input, GstBuffer ** buf) { GstFlowReturn ret = GST_FLOW_OK; - GstCapsFilter *filter = GST_CAPSFILTER (trans); + GstCapsFilter *filter = GST_CAPS_FILTER (trans); /* always return the input as output buffer */ *buf = input; @@ -473,7 +473,7 @@ gst_capsfilter_prepare_buf (GstBaseTransform * trans, GstBuffer * input, static gboolean gst_capsfilter_sink_event (GstBaseTransform * trans, GstEvent * event) { - GstCapsFilter *filter = GST_CAPSFILTER (trans); + GstCapsFilter *filter = GST_CAPS_FILTER (trans); gboolean ret; if (GST_EVENT_TYPE (event) == GST_EVENT_FLUSH_STOP) { @@ -554,7 +554,7 @@ done: static gboolean gst_capsfilter_stop (GstBaseTransform * trans) { - GstCapsFilter *filter = GST_CAPSFILTER (trans); + GstCapsFilter *filter = GST_CAPS_FILTER (trans); g_list_free_full (filter->pending_events, (GDestroyNotify) gst_event_unref); filter->pending_events = NULL; diff --git a/plugins/elements/gstcapsfilter.h b/plugins/elements/gstcapsfilter.h index 19f851d099..4918c9c166 100644 --- a/plugins/elements/gstcapsfilter.h +++ b/plugins/elements/gstcapsfilter.h @@ -21,8 +21,8 @@ */ -#ifndef __GST_CAPSFILTER_H__ -#define __GST_CAPSFILTER_H__ +#ifndef __GST_CAPS_FILTER_H__ +#define __GST_CAPS_FILTER_H__ #include @@ -30,16 +30,16 @@ G_BEGIN_DECLS -#define GST_TYPE_CAPSFILTER \ +#define GST_TYPE_CAPS_FILTER \ (gst_capsfilter_get_type()) -#define GST_CAPSFILTER(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CAPSFILTER,GstCapsFilter)) -#define GST_CAPSFILTER_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CAPSFILTER,GstCapsFilterClass)) -#define GST_IS_CAPSFILTER(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CAPSFILTER)) -#define GST_IS_CAPSFILTER_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CAPSFILTER)) +#define GST_CAPS_FILTER(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CAPS_FILTER,GstCapsFilter)) +#define GST_CAPS_FILTER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CAPS_FILTER,GstCapsFilterClass)) +#define GST_IS_CAPS_FILTER(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CAPS_FILTER)) +#define GST_IS_CAPS_FILTER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CAPS_FILTER)) typedef struct _GstCapsFilter GstCapsFilter; typedef struct _GstCapsFilterClass GstCapsFilterClass; @@ -72,5 +72,5 @@ G_GNUC_INTERNAL GType gst_capsfilter_get_type (void); G_END_DECLS -#endif /* __GST_CAPSFILTER_H__ */ +#endif /* __GST_CAPS_FILTER_H__ */ diff --git a/plugins/elements/gstfakesrc.c b/plugins/elements/gstfakesrc.c index 1b2952cd53..50fad8ef01 100644 --- a/plugins/elements/gstfakesrc.c +++ b/plugins/elements/gstfakesrc.c @@ -131,7 +131,7 @@ gst_fake_src_output_get_type (void) if (!fakesrc_output_type) { fakesrc_output_type = - g_enum_register_static ("GstFakeSrcOutput", fakesrc_output); + g_enum_register_static ("GstFakeSrcOutputType", fakesrc_output); } return fakesrc_output_type; }