summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/plugins/farstream-plugins-sections.txt20
-rw-r--r--gst/fsvideoanyrate/videoanyrate.c24
-rw-r--r--gst/fsvideoanyrate/videoanyrate.h37
3 files changed, 40 insertions, 41 deletions
diff --git a/docs/plugins/farstream-plugins-sections.txt b/docs/plugins/farstream-plugins-sections.txt
index 8594e6c4..25627e33 100644
--- a/docs/plugins/farstream-plugins-sections.txt
+++ b/docs/plugins/farstream-plugins-sections.txt
@@ -1,16 +1,16 @@
<SECTION>
<FILE>element-fsvideoanyrate</FILE>
-<TITLE>GstVideoanyrate</TITLE>
-GstVideoanyrate
+<TITLE>FsVideoanyrate</TITLE>
+FsVideoanyrate
<SUBSECTION Standard>
-GstVideoanyratePrivate
-GST_VIDEOANYRATE
-GST_IS_VIDEOANYRATE
-GST_TYPE_VIDEOANYRATE
-gst_videoanyrate_get_type
-GST_VIDEOANYRATE_CLASS
-GstVideoanyrateClass
-GST_IS_VIDEOANYRATE_CLASS
+FsVideoanyratePrivate
+FS_VIDEOANYRATE
+FS_IS_VIDEOANYRATE
+FS_TYPE_VIDEOANYRATE
+fs_videoanyrate_get_type
+FS_VIDEOANYRATE_CLASS
+FsVideoanyrateClass
+FS_IS_VIDEOANYRATE_CLASS
</SECTION>
<SECTION>
diff --git a/gst/fsvideoanyrate/videoanyrate.c b/gst/fsvideoanyrate/videoanyrate.c
index 2d73b5d9..6580bd3b 100644
--- a/gst/fsvideoanyrate/videoanyrate.c
+++ b/gst/fsvideoanyrate/videoanyrate.c
@@ -63,20 +63,20 @@ enum
static GstCaps *
-gst_videoanyrate_transform_caps (GstBaseTransform *trans,
+fs_videoanyrate_transform_caps (GstBaseTransform *trans,
GstPadDirection direction,
GstCaps *caps,
GstCaps *filter);
static GstCaps *
-gst_videoanyrate_fixate_caps (GstBaseTransform * base,
+fs_videoanyrate_fixate_caps (GstBaseTransform * base,
GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
-G_DEFINE_TYPE (GstVideoanyrate, gst_videoanyrate, GST_TYPE_BASE_TRANSFORM);
+G_DEFINE_TYPE (FsVideoanyrate, fs_videoanyrate, GST_TYPE_BASE_TRANSFORM);
static void
-gst_videoanyrate_class_init (GstVideoanyrateClass *klass)
+fs_videoanyrate_class_init (FsVideoanyrateClass *klass)
{
GstElementClass *element_class;
GstBaseTransformClass *gstbasetransform_class;
@@ -100,18 +100,18 @@ gst_videoanyrate_class_init (GstVideoanyrateClass *klass)
"Olivier Crete <olivier.crete@collabora.com>");
gstbasetransform_class->transform_caps =
- GST_DEBUG_FUNCPTR(gst_videoanyrate_transform_caps);
+ GST_DEBUG_FUNCPTR (fs_videoanyrate_transform_caps);
gstbasetransform_class->fixate_caps =
- GST_DEBUG_FUNCPTR(gst_videoanyrate_fixate_caps);
+ GST_DEBUG_FUNCPTR (fs_videoanyrate_fixate_caps);
}
static void
-gst_videoanyrate_init (GstVideoanyrate *videoanyrate)
+fs_videoanyrate_init (FsVideoanyrate *videoanyrate)
{
}
static GstCaps *
-gst_videoanyrate_transform_caps (GstBaseTransform *trans,
+fs_videoanyrate_transform_caps (GstBaseTransform *trans,
GstPadDirection direction,
GstCaps *caps,
GstCaps *filter)
@@ -146,7 +146,7 @@ gst_videoanyrate_transform_caps (GstBaseTransform *trans,
}
static GstCaps *
-gst_videoanyrate_fixate_caps (GstBaseTransform * base,
+fs_videoanyrate_fixate_caps (GstBaseTransform * base,
GstPadDirection direction, GstCaps * caps, GstCaps * othercaps)
{
GstStructure *ins, *outs;
@@ -186,15 +186,15 @@ gst_videoanyrate_fixate_caps (GstBaseTransform * base,
}
gboolean
-gst_videoanyrate_plugin_init (GstPlugin *plugin)
+fs_videoanyrate_plugin_init (GstPlugin *plugin)
{
return gst_element_register (plugin, "fsvideoanyrate",
- GST_RANK_MARGINAL, GST_TYPE_VIDEOANYRATE);
+ GST_RANK_MARGINAL, FS_TYPE_VIDEOANYRATE);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
fsvideoanyrate,
"Videoanyrate",
- gst_videoanyrate_plugin_init, VERSION, "LGPL", "Farstream",
+ fs_videoanyrate_plugin_init, VERSION, "LGPL", "Farstream",
"http://www.freedesktop.org/wiki/Software/Farstream")
diff --git a/gst/fsvideoanyrate/videoanyrate.h b/gst/fsvideoanyrate/videoanyrate.h
index db9dd06e..744523e6 100644
--- a/gst/fsvideoanyrate/videoanyrate.h
+++ b/gst/fsvideoanyrate/videoanyrate.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef __GST_VIDEOANYRATE_H__
-#define __GST_VIDEOANYRATE_H__
+#ifndef __FS_VIDEOANYRATE_H__
+#define __FS_VIDEOANYRATE_H__
#include <gst/gst.h>
#include <gst/base/gstbasetransform.h>
@@ -29,35 +29,34 @@
G_BEGIN_DECLS
/* #define's don't like whitespacey bits */
-#define GST_TYPE_VIDEOANYRATE \
- (gst_videoanyrate_get_type())
-#define GST_VIDEOANYRATE(obj) \
+#define FS_TYPE_VIDEOANYRATE \
+ (fs_videoanyrate_get_type())
+#define FS_VIDEOANYRATE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
- GST_TYPE_VIDEOANYRATE,GstVideoanyrate))
-#define GST_VIDEOANYRATE_CLASS(klass) \
+ FS_TYPE_VIDEOANYRATE,FsVideoanyrate))
+#define FS_VIDEOANYRATE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass), \
- GST_TYPE_VIDEOANYRATE,GstVideoanyrateClass))
-#define GST_IS_VIDEOANYRATE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEOANYRATE))
-#define GST_IS_VIDEOANYRATE_CLASS(obj) \
- (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEOANYRATE))
+ FS_TYPE_VIDEOANYRATE,FsVideoanyrateClass))
+#define FS_IS_VIDEOANYRATE(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj),FS_TYPE_VIDEOANYRATE))
+#define FS_IS_VIDEOANYRATE_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass),FS_TYPE_VIDEOANYRATE))
-typedef struct _GstVideoanyrate GstVideoanyrate;
-typedef struct _GstVideoanyrateClass GstVideoanyrateClass;
-typedef struct _GstVideoanyratePrivate GstVideoanyratePrivate;
+typedef struct _FsVideoanyrate FsVideoanyrate;
+typedef struct _FsVideoanyrateClass FsVideoanyrateClass;
-struct _GstVideoanyrate
+struct _FsVideoanyrate
{
GstBaseTransform parent;
};
-struct _GstVideoanyrateClass
+struct _FsVideoanyrateClass
{
GstBaseTransformClass parent_class;
};
-GType gst_videoanyrate_get_type (void);
+GType fs_videoanyrate_get_type (void);
G_END_DECLS
-#endif /* __GST_VIDEOANYRATE_H__ */
+#endif /* __FS_VIDEOANYRATE_H__ */