summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/gstvideosink.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-07-10 12:03:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-07-10 12:03:58 +0000
commit9e8a11d3ceebd032582f31876c794dc5540958a8 (patch)
tree51f2b7237b6c590a1904f11001ab872567b18f8b /gst-libs/gst/video/gstvideosink.c
parenteec80f9dc74ea3b08d4f50b61012fc85de0dc5cf (diff)
use overridable ERROR_CFLAGS; more macro splitting
Original commit message from CVS: use overridable ERROR_CFLAGS; more macro splitting
Diffstat (limited to 'gst-libs/gst/video/gstvideosink.c')
-rw-r--r--gst-libs/gst/video/gstvideosink.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gst-libs/gst/video/gstvideosink.c b/gst-libs/gst/video/gstvideosink.c
index 2d06b3157c..e4c5117613 100644
--- a/gst-libs/gst/video/gstvideosink.c
+++ b/gst-libs/gst/video/gstvideosink.c
@@ -31,14 +31,14 @@ static GstElementClass *parent_class = NULL;
/* Initing stuff */
static void
-gst_videosink_init (GstVideoSink * videosink)
+gst_video_sink_init (GstVideoSink * videosink)
{
videosink->width = 0;
videosink->height = 0;
}
static void
-gst_videosink_class_init (GstVideoSinkClass * klass)
+gst_video_sink_class_init (GstVideoSinkClass * klass)
{
GObjectClass *gobject_class;
GstElementClass *gstelement_class;
@@ -52,7 +52,7 @@ gst_videosink_class_init (GstVideoSinkClass * klass)
/* Public methods */
GType
-gst_videosink_get_type (void)
+gst_video_sink_get_type (void)
{
static GType videosink_type = 0;
@@ -61,15 +61,15 @@ gst_videosink_get_type (void)
sizeof (GstVideoSinkClass),
NULL,
NULL,
- (GClassInitFunc) gst_videosink_class_init,
+ (GClassInitFunc) gst_video_sink_class_init,
NULL,
NULL,
sizeof (GstVideoSink),
0,
- (GInstanceInitFunc) gst_videosink_init,
+ (GInstanceInitFunc) gst_video_sink_init,
};
- videosink_type = g_type_register_static (GST_TYPE_BASESINK,
+ videosink_type = g_type_register_static (GST_TYPE_BASE_SINK,
"GstVideoSink", &videosink_info, 0);
}